summaryrefslogtreecommitdiff
path: root/include/asm-generic/kprobes.h
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2021-04-12 04:31:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-11 15:47:30 +0300
commit1ac2b3720f61f0c9f3b2403c7345b305f6c79260 (patch)
treedec2a7b03d28ff571e5272cdbf8ffa2ed4128681 /include/asm-generic/kprobes.h
parent56488df9f4bce9c852fb3cd2fd0cfe7b7f6f9b90 (diff)
downloadlinux-1ac2b3720f61f0c9f3b2403c7345b305f6c79260.tar.xz
scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
[ Upstream commit fffd18ec6579c2d9c72b212169259062fe747888 ] Fix a crash caused by a double put on the node when the driver completed an ACC for an unsolicted abort on the same node. The second put was executed by lpfc_nlp_not_used() and is wrong because the completion routine executes the nlp_put when the iocbq was released. Additionally, the driver is issuing a LOGO then immediately calls lpfc_nlp_set_state to put the node into NPR. This call does nothing. Remove the lpfc_nlp_not_used call and additional set_state in the completion routine. Remove the lpfc_nlp_set_state post issue_logo. Isn't necessary. Link: https://lore.kernel.org/r/20210412013127.2387-3-jsmart2021@gmail.com Co-developed-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/asm-generic/kprobes.h')
0 files changed, 0 insertions, 0 deletions