diff options
author | 2023-11-28 18:29:18 -0800 | |
---|---|---|
committer | 2023-11-29 20:16:09 -0800 | |
commit | 45c28509fee6b4c867374b83c5b9e10dac245988 (patch) | |
tree | 4cd37b5dbd768727a9f750894e7b3dfbe6667134 /include/linux/netfilter_ipv6.h | |
parent | tcp: Clean up reverse xmas tree in cookie_v[46]_check(). (diff) | |
download | wireguard-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