commit | 63058308cd55182bbfd7a87970bd57883fcfbd2e | [log] [tgz] |
---|---|---|
author | Tom Herbert <tom@herbertland.com> | Tue Apr 05 08:22:50 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 07 16:53:14 2016 -0400 |
tree | 9acc3eeb49074f52f22756facf5749f7af107cdd | |
parent | 0340d0b9e0e2dc340acb664f19d6550940b22cde [diff] |
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>