tunnel: use iptunnel_xmit() again
With recent patches from Pravin, most tunnels can't use iptunnel_xmit() any more, due to ip_select_ident() and skb->ip_summed. But we can just move these operations out of iptunnel_xmit(), so that tunnels can use it again. This by the way fixes a bug in vxlan (missing nf_reset()) for net-next. Cc: Pravin B Shelar <pshelar@nicira.com> Cc: Stephen Hemminger <stephen@networkplumber.org> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by:Cong Wang <xiyou.wangcong@gmail.com> Acked-by:
Eric Dumazet <edumazet@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/vxlan.c 1 addition, 13 deletionsdrivers/net/vxlan.c
- include/net/ipip.h 0 additions, 3 deletionsinclude/net/ipip.h
- net/ipv4/ip_gre.c 1 addition, 15 deletionsnet/ipv4/ip_gre.c
- net/ipv4/ipip.c 1 addition, 17 deletionsnet/ipv4/ipip.c
- net/ipv6/sit.c 2 additions, 0 deletionsnet/ipv6/sit.c
Please register or sign in to comment