tunnel: eliminate recursion field
It seems recursion field from "struct ip_tunnel" is not anymore needed. recursion prevention is done at the upper level (in dev_queue_xmit()), since we use HARD_TX_LOCK protection for tunnels. This avoids a cache line ping pong on "struct ip_tunnel" : This structure should be now mostly read on xmit and receive paths. Signed-off-by:Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/ipip.h 0 additions, 1 deletioninclude/net/ipip.h
- net/ipv4/ip_gre.c 1 addition, 12 deletionsnet/ipv4/ip_gre.c
- net/ipv4/ipip.c 0 additions, 8 deletionsnet/ipv4/ipip.c
- net/ipv6/ip6_tunnel.c 0 additions, 7 deletionsnet/ipv6/ip6_tunnel.c
- net/ipv6/sit.c 0 additions, 8 deletionsnet/ipv6/sit.c
Loading
Please register or sign in to comment