diff options
| author | Kuniyuki Iwashima <[email protected]> | 2023-11-28 18:29:18 -0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-11-29 20:16:09 -0800 |
| commit | 45c28509fee6b4c867374b83c5b9e10dac245988 (patch) | |
| tree | 4cd37b5dbd768727a9f750894e7b3dfbe6667134 /tools/perf/scripts/python | |
| parent | 34efc9cfe7c6d11ccc438ca03b59a1bf43cc60ec (diff) | |
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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions