]> 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)
commit6c1b4bb0bef4eaafd38cc0b6615f2a446f4c47e1
tree98ebf6de1532c7693c9b1026cf1a898070a9c344
parent0fe899512be47fe3bcf0dd3565104c1d1d741cb2
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