mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
edf42a27e8
commit
a43912ab19
5 changed files with 1 additions and 36 deletions
|
@ -12,7 +12,6 @@ struct ip_tunnel
|
|||
struct ip_tunnel *next;
|
||||
struct net_device *dev;
|
||||
|
||||
int recursion; /* Depth of hard_start_xmit recursion */
|
||||
int err_count; /* Number of arrived ICMP errors */
|
||||
unsigned long err_time; /* Time when the last ICMP error arrived */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue