summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_offload.c
diff options
context:
space:
mode:
authorTom Herbert2016-04-05 17:22:50 +0200
committerDavid S. Miller2016-04-07 22:53:14 +0200
commit63058308cd55182bbfd7a87970bd57883fcfbd2e (patch)
tree9acc3eeb49074f52f22756facf5749f7af107cdd /net/ipv6/ip6_offload.c
parentnet: Checks skb_dst to be NULL in inet_iif (diff)
downloadkernel-qcow2-linux-63058308cd55182bbfd7a87970bd57883fcfbd2e.tar.gz
kernel-qcow2-linux-63058308cd55182bbfd7a87970bd57883fcfbd2e.tar.xz
kernel-qcow2-linux-63058308cd55182bbfd7a87970bd57883fcfbd2e.zip
udp: Add udp6_lib_lookup_skb and udp4_lib_lookup_skb
Add externally visible functions to lookup a UDP socket by skb. This will be used for GRO in UDP sockets. These functions also check if skb->dst is set, and if it is not skb->dev is used to get dev_net. This allows calling lookup functions before dst has been set on the skbuff. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_offload.c')
0 files changed, 0 insertions, 0 deletions