aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-09-17 01:11:01 +0000
committerChristoph Hellwig <[email protected]>2020-09-17 08:36:25 +0000
commit3a6b076168e20a50289d71f601f1dd02be0f8e88 (patch)
treea2f312634f5c551b47b71bd28d103cf96ccbe827 /net/switchdev/switchdev.c
parentnvme-core: get/put ctrl and transport module in nvme_dev_open/release() (diff)
downloadkernel-3a6b076168e20a50289d71f601f1dd02be0f8e88.tar.gz
kernel-3a6b076168e20a50289d71f601f1dd02be0f8e88.zip
nvmet: get transport reference for passthru ctrl
Grab a reference to the transport driver to ensure it can't be unloaded while a passthrough controller is active. Fixes: c1fef73f793b ("nvmet: add passthru code to process commands") Reported-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions