nvme-tcp: use bh_lock in data_ready
authorSagi Grimberg <sagi@grimberg.me>
Thu, 30 Apr 2020 20:59:32 +0000 (13:59 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:18:36 +0000 (16:18 -0600)
commit386e5e6e1aa90b479fcf0467935922df8524393d
treeac7e75c92bf5b570f3c0f413b28ce967676c2661
parent2a5bcfdd41d68559567cec3c124a75e093506cc1
nvme-tcp: use bh_lock in data_ready

data_ready may be invoked from send context or from
softirq, so need bh locking for that.

Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/tcp.c