Fixes possible crash, caused by q2t_sess_work_fn() called on several CPUs at time...
[mirror/scst/.git] / qla2x00t / qla2x00-target / qla2x00t.h
index 0fc79a6..4ed229d 100644 (file)
@@ -129,6 +129,7 @@ struct q2t_tgt {
        unsigned int tgt_enable_64bit_addr:1;   /* 64-bits PCI addressing enabled */
        unsigned int link_reinit_iocb_pending:1;
        unsigned int tm_to_unknown:1; /* TM to unknown session was sent */
+       unsigned int sess_works_pending:1; /* there are sess_work entries */
 
        /*
         * Protected by tgt_mutex AND hardware_lock for writing and tgt_mutex