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>
Wed, 26 Oct 2022 10:35:15 +0000 (12:35 +0200)
commitc2af03a7c1b5f3cfa091718ce4f6cc572c112fff
tree6caddaa513182bfb5fe270b98e42f02f1dca1d6a
parentd6aafc21bef1b0221a6b5707488db2cd2e687241
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