]> git.baikalelectronics.ru Git - kernel.git/commit
inet: refactor inet[6]_lookup functions to take skb
authorCraig Gallek <kraig@google.com>
Wed, 10 Feb 2016 16:50:38 +0000 (11:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 08:54:14 +0000 (03:54 -0500)
commitdda7e873003dbaa2b1c42fd332e4a7c2f988714f
tree98ebf6de1532c7693c9b1026cf1a898070a9c344
parent7aa10baac7901baa1836c7a060a2b72329d439be
inet: refactor inet[6]_lookup functions to take skb

This is a preliminary step to allow fast socket lookup of SO_REUSEPORT
groups.  Doing so with a BPF filter will require access to the
skb in question.  This change plumbs the skb (and offset to payload
data) through the call stack to the listening socket lookup
implementations where it will be used in a following patch.

Signed-off-by: Craig Gallek <kraig@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
include/net/addrconf.h
include/net/inet6_hashtables.h
include/net/inet_hashtables.h
net/dccp/ipv4.c
net/dccp/ipv6.c
net/ipv4/inet_diag.c
net/ipv4/inet_hashtables.c
net/ipv4/tcp_ipv4.c
net/ipv6/inet6_hashtables.c
net/ipv6/tcp_ipv6.c
net/netfilter/xt_TPROXY.c
net/netfilter/xt_socket.c