]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: iscsi: Add recv workqueue helpers
authorMike Christie <michael.christie@oracle.com>
Thu, 16 Jun 2022 22:45:50 +0000 (17:45 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2022 07:57:58 +0000 (09:57 +0200)
commitbd16ec67e9959b749cc228baea06f670381c2ebb
treef95101601b84fa7a54363a5dce9cb2fa681479d4
parent38a118abf5ccafd54ad4f24556ee3ff1b0351a21
scsi: iscsi: Add recv workqueue helpers

[ Upstream commit 8af809966c0b34cfacd8da9a412689b8e9910354 ]

Add helpers to allow the drivers to run their recv paths from libiscsi's
workqueue.

Link: https://lore.kernel.org/r/20220616224557.115234-3-michael.christie@oracle.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Stable-dep-of: 57569c37f0ad ("scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h