diff options
| author | Kuniyuki Iwashima <[email protected]> | 2023-11-29 02:29:18 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-11-30 04:16:09 +0000 |
| commit | 45c28509fee6b4c867374b83c5b9e10dac245988 (patch) | |
| tree | 4cd37b5dbd768727a9f750894e7b3dfbe6667134 /tools/net/ynl/generated/devlink-user.c | |
| parent | tcp: Clean up reverse xmas tree in cookie_v[46]_check(). (diff) | |
| download | kernel-45c28509fee6b4c867374b83c5b9e10dac245988.tar.gz kernel-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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions
