aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2021-01-13 22:03:04 +0000
committerChristoph Hellwig <[email protected]>2021-01-14 19:27:35 +0000
commitada831772188192243f9ea437c46e37e97a5975d (patch)
tree4fd443a9649a16cd4925800b29e1b710c7a52c27 /net/switchdev/switchdev.c
parentnvmet-rdma: Fix NULL deref when setting pi_enable and traddr INADDR_ANY (diff)
downloadkernel-ada831772188192243f9ea437c46e37e97a5975d.tar.gz
kernel-ada831772188192243f9ea437c46e37e97a5975d.zip
nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT
We shouldn't call smp_processor_id() in a preemptible context, but this is advisory at best, so instead call __smp_processor_id(). Fixes: db5ad6b7f8cd ("nvme-tcp: try to send request in queue_rq context") Reported-by: Or Gerlitz <[email protected]> Reported-by: Yi Zhang <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions