summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_sysctl.c
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 /net/xfrm/xfrm_sysctl.c
parent34efc9cfe7c6d11ccc438ca03b59a1bf43cc60ec (diff)
downloadlinux-45c28509fee6b4c867374b83c5b9e10dac245988.tar.gz
linux-45c28509fee6b4c867374b83c5b9e10dac245988.tar.bz2
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 'net/xfrm/xfrm_sysctl.c')
0 files changed, 0 insertions, 0 deletions