Skip to content

ip6_gre: Support per-netns device unregistration.

Kuniyuki Iwashima netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6ip6_gre: Initialise ign->tunnels_wc[0] before register_netdev().net/ipv6/ip6_gre.c+3 -20 repliesApplied
2/6ip6_gre: Convert ip6gre_net.tunnels[][] to hlist.include/net/ip6_tunnel.h net/ipv6/ip6_gre.c+48 -440 repliesApplied
3/6ip6_gre: Clear ign->fb_tunnel_dev in ip6gre_exit_rtnl_net().net/ipv6/ip6_gre.c+4 -150 repliesApplied
4/6ip6_gre: Unlink ip6gre_tunnel_unlink() from ->dellink().net/ipv6/ip6_gre.c+34 -160 repliesApplied
5/6ip6_gre: Protect ip6gre_net.tunnels[][] with mutex.net/ipv6/ip6_gre.c+65 -130 repliesApplied
6/6ip6_gre: Support per-netns device unregistration.net/ipv6/ip6_gre.c+36 -150 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 net-next 0/6] ip6_gre: Support per-netns device unregistration.

Patch 1 & 2 convert ip6gre_net.tunnels[][] to hlist as a prep.

Patch 3 & 4 unlink devices from ip6gre_net.tunnels[][] in
->dellink().

Patch 5 & 6 adds mutex and support per-netns device unregistration.

Kuniyuki Iwashima (6):
ip6_gre: Initialise ign->tunnels_wc[0] before register_netdev().
ip6_gre: Convert ip6gre_net.tunnels[][] to hlist.
ip6_gre: Clear ign->fb_tunnel_dev in ip6gre_exit_rtnl_net().
ip6_gre: Unlink ip6gre_tunnel_unlink() from ->dellink().
ip6_gre: Protect ip6gre_net.tunnels[][] with mutex.
ip6_gre: Support per-netns device unregistration.

 include/net/ip6_tunnel.h |   1 +
 net/ipv6/ip6_gre.c       | 268 +++++++++++++++++++++++++--------------
 2 files changed, 177 insertions(+), 92 deletions(-)
Signature · 1 line
2.55.0.1082.g2b9226bbc0-goog