diff options
author | 2017-10-07 19:30:28 -0700 | |
---|---|---|
committer | 2017-10-08 21:16:31 -0700 | |
commit | cc429c8f6fa7cc1c9109bb4a1ad63a6d1f232f0e (patch) | |
tree | e7e9727cc24309c0a4e667920f8cba37186d4b22 /include/net/switchdev.h | |
parent | ipv6: __ipv6_dev_get_saddr() rcu conversion (diff) | |
download | wireguard-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