Re: [PATCH] ip6tnl: avoid touching dst refcount in ip6_tnl_xmit2()
From: David Miller <davem@davemloft.net>
Date: 2011-08-01 08:56:08
From: David Miller <davem@davemloft.net>
Date: 2011-08-01 08:56:08
From: Eric Dumazet <redacted> Date: Thu, 28 Jul 2011 16:32:25 +0200
Even using percpu stats, we still hit tunnel dst_entry refcount in ip6_tnl_xmit2() Since we are in RCU locked section, we can use skb_dst_set_noref() and avoid these atomic operations, leaving dst shared on cpus. Signed-off-by: Eric Dumazet <redacted>
Queued up for net-next