summaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-03-19 07:01:08 -0700
committerDavid S. Miller <davem@davemloft.net>2019-03-19 14:09:32 -0700
commit93a77c11ae79e83988d4b7f2f3dd8252231e4cd2 (patch)
treef765775b23e44a08fa8daf95afbfc9c76e1b21b5 /net/sysctl_net.c
parentf8d6ae0d27ec1e81e4be454e63bc96086bbf8e6b (diff)
downloadlinux-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/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions