diff options
author | 2021-11-15 11:02:32 -0800 | |
---|---|---|
committer | 2021-11-16 13:10:34 +0000 | |
commit | 373544020024668ea552a7699c9c9f100b6bc9d9 (patch) | |
tree | 26a9722f16481ad49f5f7a22aa1c95a532b9e72d /net/core/sock.c | |
parent | tcp: remove dead code in __tcp_v6_send_check() (diff) | |
download | wireguard-linux-373544020024668ea552a7699c9c9f100b6bc9d9.tar.xz wireguard-linux-373544020024668ea552a7699c9c9f100b6bc9d9.zip |
tcp: small optimization in tcp_v6_send_check()
For TCP flows, inet6_sk(sk)->saddr has the same value
than sk->sk_v6_rcv_saddr.
Using sk->sk_v6_rcv_saddr increases data locality.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions