Skip to content
Commit ac1c4e18 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Keith Busch
Browse files

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: 1a9460ce ("nvme-tcp: support simple polling")
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent c1ac9a4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment