[Devel] [PATCH hci-8.1] net/ip6_gre: fix a host panic deleting ip6gre moved into a CT without ipgre

Konstantin Khorenko khorenko at virtuozzo.com
Tue Nov 10 18:08:24 MSK 2026


Applying with these fixes on my side:
- "ip6gretap and ip6erspan have no ->dellink and are not affected" ->
  "ip6gretap and ip6erspan use the default ->dellink,
  unregister_netdevice_queue(), which does not touch ip6gre_net"
- the Jira URL moved next to the Fixes tag, a blank line before Feature,
  as in the vz commit template

The same dellink bug sits in three more IPv6 tunnel drivers. I filed
them and assigned them to you:
- https://virtuozzo.atlassian.net/browse/VSTOR-154346
  ip6_tunnel: ip6_tnl_dellink()
- https://virtuozzo.atlassian.net/browse/VSTOR-154347
  sit: ipip6_dellink()
- https://virtuozzo.atlassian.net/browse/VSTOR-154348
  ip6_vti: vti6_dellink(), vti6_changelink(), vti6_siocdevprivate();
  ip6_vti0 is not netns_immutable either, mainline d289d5307762 fixes
  that

On 11/5/26 15:17, Denis V. Lunev wrote:
> fb_tunnel_dev comparison keeps its meaning. ip6gretap and ip6erspan have
> no ->dellink and are not affected.

They do have one: __rtnl_link_register() fills an unset ->dellink with
unregister_netdevice_queue(). The conclusion holds, since that default
does not look at ip6gre_net.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list