net: Introduce skb_tunnel_rx() helper
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 18 May 2010 05:36:55 +0000 (22:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 05:36:55 +0000 (22:36 -0700)
commitd19d56ddc88e7895429ef118db9c83c7bbe3ce6a
treec0db76f3527c88c95a8793c871f62d628fb3fd1d
parentde213e5eedecdfb1b1eea7e6be28bc64cac5c078
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>
include/net/dst.h
net/ipv4/ip_gre.c
net/ipv4/ipip.c
net/ipv4/ipmr.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6mr.c
net/ipv6/sit.c