Files
linux-stable-mirror/include/net
Nikolay Aleksandrov 8837cbbf85 net: ipv6: add fib6_nh_release_dsts stub
We need a way to release a fib6_nh's per-cpu dsts when replacing
nexthops otherwise we can end up with stale per-cpu dsts which hold net
device references, so add a new IPv6 stub called fib6_nh_release_dsts.
It must be used after an RCU grace period, so no new dsts can be created
through a group's nexthop entry.
Similar to fib6_nh_release it shouldn't be used if fib6_nh_init has failed
so it doesn't need a dummy stub when IPv6 is not enabled.

Fixes: 7bf4796dd0 ("nexthops: add support for replace")
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-22 15:44:49 +00:00
..
2021-11-04 21:04:25 +09:00
2021-11-01 13:36:09 +00:00
2021-10-13 09:40:45 -07:00
2021-10-25 18:02:12 -07:00
2021-10-13 09:40:46 -07:00
2021-10-13 09:40:46 -07:00
2021-10-15 11:33:08 +01:00
2021-10-25 18:02:14 -07:00
2021-10-13 09:40:46 -07:00
2021-10-13 09:40:46 -07:00
2021-10-19 12:24:51 +01:00
2021-10-13 09:40:45 -07:00
2021-11-01 16:33:27 -07:00
2021-09-28 00:18:35 +02:00