diff options
author | 2022-02-10 13:42:29 -0800 | |
---|---|---|
committer | 2022-02-11 11:44:27 +0000 | |
commit | e5f80fcf869a18cc750d6b350bbfac82df292e0b (patch) | |
tree | cb0581c02f68e783da214365d835b1ad49db4961 /drivers/net/wwan/iosm/iosm_ipc_mux_codec.c | |
parent | ipv6: get rid of net->ipv6.rt6_stats->fib_rt_uncache (diff) | |
download | linux-dev-e5f80fcf869a18cc750d6b350bbfac82df292e0b.tar.xz linux-dev-e5f80fcf869a18cc750d6b350bbfac82df292e0b.zip |
ipv6: give an IPv6 dev to blackhole_netdev
IPv6 addrconf notifiers wants the loopback device to
be the last device being dismantled at netns deletion.
This caused many limitations and work arounds.
Back in linux-5.3, Mahesh added a per host blackhole_netdev
that can be used whenever we need to make sure objects no longer
refer to a disappearing device.
If we attach to blackhole_netdev an ip6_ptr (allocate an idev),
then we can use this special device (which is never freed)
in place of the loopback_dev (which can be freed).
This will permit improvements in netdev_run_todo() and other parts
of the stack where had steps to make sure loopback_dev was
the last device to disappear.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_mux_codec.c')
0 files changed, 0 insertions, 0 deletions