Re: [PATCH -next] scsi: snic: fix double free in snic_tgt_create()

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

 



> put_device(&tgt->dev) will call snic_tgt_dev_release() in which
> kfree(tgt) is called, so tgt is freed twice

OK, I get it. Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[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