aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
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 /drivers/net/ethernet
parentibmvnic: Report actual backing device speed and duplex values (diff)
downloadlinux-dev-93a77c11ae79e83988d4b7f2f3dd8252231e4cd2.tar.xz
linux-dev-93a77c11ae79e83988d4b7f2f3dd8252231e4cd2.zip
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 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions