]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-tcp: Initialize sk->sk_ll_usec only with NET_RX_BUSY_POLL
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 10 Oct 2019 15:34:12 +0000 (17:34 +0200)
committerKeith Busch <kbusch@kernel.org>
Mon, 14 Oct 2019 14:27:01 +0000 (23:27 +0900)
commit2f321bfca937f083f2129c46d87eec59b19e1be7
treefd5d5f55819e3e916fdfdf31e69e078a853b3bcd
parente9663a2603f0445adb9cba9fbe51f9ed4385e1cc
nvme-tcp: Initialize sk->sk_ll_usec only with NET_RX_BUSY_POLL

The access to sk->sk_ll_usec should be hidden behind
CONFIG_NET_RX_BUSY_POLL like the definition of sk_ll_usec.

Put access to ->sk_ll_usec behind CONFIG_NET_RX_BUSY_POLL.

Fixes: 973f0d96a5c6a ("nvme-tcp: support simple polling")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/tcp.c