]> git.baikalelectronics.ru Git - kernel.git/commit
inet: use #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING consistently
authorEric Dumazet <edumazet@google.com>
Thu, 2 Dec 2021 22:42:18 +0000 (14:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2021 14:15:07 +0000 (14:15 +0000)
commitd1a91c3b42ba5ec848b072a7628de74af602babd
treefed97e01c7daf672b575b72150c5357c0b82b369
parentdfb9f67494bddbdf0a33fba8f4cc326a4bfef7a2
inet: use #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING consistently

Since commit 1c88d6f9caf3 ("net/sock: Add kernel config
SOCK_RX_QUEUE_MAPPING"),
sk_rx_queue_mapping access is guarded by CONFIG_SOCK_RX_QUEUE_MAPPING.

Fixes: ac19aa917b24 ("tcp: Migrate TCP_ESTABLISHED/TCP_SYN_RECV sockets in accept queues.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: Tariq Toukan <tariqt@nvidia.com>
Acked-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c