tunnel: eliminate recursion field
commita43912ab1925788765208da5cd664b6f8e011d08
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 23 Sep 2009 10:28:33 +0000 (23 10:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2009 22:39:22 +0000 (24 15:39 -0700)
tree6f522dba1fd414b7da3999fa2da062d80a550874
parentedf42a27e8e242e543716663e54aa2b592ea070a
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>
include/net/ipip.h
net/ipv4/ip_gre.c
net/ipv4/ipip.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c