Thread (2 messages) 2 messages, 2 authors, 2011-08-01

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: 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help