commit | 89b0212697e92bc59a021a2338cd8c09f919325c | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Jul 28 04:32:25 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 01 00:12:00 2011 -0700 |
tree | 633279786602d3677ea5c4959528aa00219afed2 | |
parent | 897dc80b951e996ba4d26c0038e81a505b92aec1 [diff] |
ip6tnl: avoid touching dst refcount in ip6_tnl_xmit2() 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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>