[PATCH v2 0/2] Fix struct bnx2fc_cmd refcount imbalance in several functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



in bnx2fc_send_rec and bnx2fc_send_srr, it calls the separate kref_put on err handle path, we can't release refcount before taking it's refcount, so avoid calling it inthe err path.

Lin Yi (2):
  scsi :bnx2fc :bnx2fc_els :fix bnx2fc_cmd refcount imbalance in
    send_rec
  scsi :bnx2fc :bnx2fc_els :fix bnx2fc_cmd refcount imbalance in
    send_srr

 drivers/scsi/bnx2fc/bnx2fc_els.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
1.9.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux