]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: avoid cache line dirtying in ipv6_dev_get_saddr()
authorEric Dumazet <edumazet@google.com>
Sun, 8 Oct 2017 02:30:28 +0000 (19:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 04:16:31 +0000 (21:16 -0700)
commitfd67e46d2ec1f45682d5545580ddfb9fb0bc0b32
treee7e9727cc24309c0a4e667920f8cba37186d4b22
parenta21447b73396448a3c843ea6c957be1c8734f1b8
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>
net/ipv6/addrconf.c