aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/netfilter_ipv6.h
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2023-11-28 18:29:18 -0800
committerJakub Kicinski <kuba@kernel.org>2023-11-29 20:16:09 -0800
commit45c28509fee6b4c867374b83c5b9e10dac245988 (patch)
tree4cd37b5dbd768727a9f750894e7b3dfbe6667134 /include/linux/netfilter_ipv6.h
parenttcp: Clean up reverse xmas tree in cookie_v[46]_check(). (diff)
downloadwireguard-linux-45c28509fee6b4c867374b83c5b9e10dac245988.tar.xz
wireguard-linux-45c28509fee6b4c867374b83c5b9e10dac245988.zip
tcp: Cache sock_net(sk) in cookie_v[46]_check().
sock_net(sk) is used repeatedly in cookie_v[46]_check(). Let's cache it in a variable. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20231129022924.96156-3-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/netfilter_ipv6.h')
0 files changed, 0 insertions, 0 deletions