aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-10-07 19:30:28 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-08 21:16:31 -0700
commitcc429c8f6fa7cc1c9109bb4a1ad63a6d1f232f0e (patch)
treee7e9727cc24309c0a4e667920f8cba37186d4b22 /include/net/switchdev.h
parentipv6: __ipv6_dev_get_saddr() rcu conversion (diff)
downloadwireguard-linux-cc429c8f6fa7cc1c9109bb4a1ad63a6d1f232f0e.tar.xz
wireguard-linux-cc429c8f6fa7cc1c9109bb4a1ad63a6d1f232f0e.zip
ipv6: avoid cache line dirtying in ipv6_dev_get_saddr()
By extending the rcu section a bit, we can avoid these very expensive in6_ifa_put()/in6_ifa_hold() calls done in __ipv6_dev_get_saddr() and ipv6_dev_get_saddr() Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions