Searched hist:"4767 c58a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_nvmet.c | 4767c58a Tue May 21 19:48:53 CDT 2019 James Smart <jsmart2021@gmail.com> scsi: lpfc: Correct nvmet buffer free race condition
A race condition resulted in receive buffers being placed in the free list twice.
Change the locking and handling to check whether the "other" path will be freeing the entry in a later thread and skip it if it is.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> 4767c58a Tue May 21 19:48:53 CDT 2019 James Smart <jsmart2021@gmail.com> scsi: lpfc: Correct nvmet buffer free race condition A race condition resulted in receive buffers being placed in the free list twice. Change the locking and handling to check whether the "other" path will be freeing the entry in a later thread and skip it if it is. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|