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)
commita583636a83ea383fd07517e5a7a2eedbc5d90fb1
tree98ebf6de1532c7693c9b1026cf1a898070a9c344
parentd9b3fca27385eafe61c3ca6feab6cb1e7dc77482
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