diff options
author | Eric Dumazet <edumazet@google.com> | 2019-03-19 07:01:08 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-19 14:09:32 -0700 |
commit | 93a77c11ae79e83988d4b7f2f3dd8252231e4cd2 (patch) | |
tree | f765775b23e44a08fa8daf95afbfc9c76e1b21b5 /net/bpf | |
parent | f8d6ae0d27ec1e81e4be454e63bc96086bbf8e6b (diff) | |
download | linux-93a77c11ae79e83988d4b7f2f3dd8252231e4cd2.tar.bz2 |
tcp: add tcp_inet6_sk() helper
TCP ipv6 fast path dereferences a pointer to get to the inet6
part of a tcp socket, but given the fixed memory placement,
we can do better and avoid a possible cache line miss.
This also reduces register pressure, since we let the compiler
know about this memory placement.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions