net: Introduce skb_tunnel_rx() helper
skb rxhash should be cleared when a skb is handled by a tunnel before being delivered again, so that correct packet steering can take place. There are other cleanups and accounting that we can factorize in a new helper, skb_tunnel_rx() Signed-off-by:Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/dst.h 20 additions, 0 deletionsinclude/net/dst.h
- net/ipv4/ip_gre.c 1 addition, 8 deletionsnet/ipv4/ip_gre.c
- net/ipv4/ipip.c 2 additions, 5 deletionsnet/ipv4/ipip.c
- net/ipv4/ipmr.c 3 additions, 5 deletionsnet/ipv4/ipmr.c
- net/ipv6/ip6_tunnel.c 2 additions, 6 deletionsnet/ipv6/ip6_tunnel.c
- net/ipv6/ip6mr.c 3 additions, 5 deletionsnet/ipv6/ip6mr.c
- net/ipv6/sit.c 3 additions, 5 deletionsnet/ipv6/sit.c
Loading
Please register or sign in to comment