aboutsummaryrefslogtreecommitdiffstats
path: root/net/nonet.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-07-28 04:32:25 +0000
committerDavid S. Miller <davem@davemloft.net>2011-08-01 00:12:00 -0700
commit89b0212697e92bc59a021a2338cd8c09f919325c (patch)
tree633279786602d3677ea5c4959528aa00219afed2 /net/nonet.c
parentipv6: avoid a dst_entry refcount change in ipv6_destopt_rcv() (diff)
downloadlinux-dev-89b0212697e92bc59a021a2338cd8c09f919325c.tar.xz
linux-dev-89b0212697e92bc59a021a2338cd8c09f919325c.zip
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>
Diffstat (limited to 'net/nonet.c')
0 files changed, 0 insertions, 0 deletions