Thread (4 messages) 4 messages, 1 author, 5h ago

[PATCH v1 net 0/3] ip: Fix route leak and unregister_netdevice() stuck.

flat view
HOTtoday

From: Kuniyuki Iwashima <kuniyu@google.com>
Date: 2026-11-01 06:44:20
Subsystem: networking [general], networking [ipv4/ipv6], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, David Ahern, Ido Schimmel, Linus Torvalds

Jason Zhang fed commit 0346ec2f080b ("ipv6: Prevent
rt6_insert_exception() for dying fib6_info.") to LLM to
find tricks to cause the same symptom:

  unregister_netdevice: waiting for gre6 to become free. Usage count = 4
  ref_tracker: netdev@000000009652f190 has 1/3 users at
       dst_alloc+0x14b/0x490
       ip6_rt_cache_alloc+0x27b/0x670
       __ip6_rt_update_pmtu+0x572/0x850

This series treats them.


Kuniyuki Iwashima (3):
  ipv6: Flush exception route while replacing nexthop.
  ipv6: Flush rt->from in rt6_uncached_list_flush_dev().
  ipv4: Call rt_add_uncached_list() if !do_cache in
    ip_route_input_slow().

 net/ipv4/route.c |  2 ++
 net/ipv6/route.c | 20 ++++++++++++++++++--
 2 files changed, 20 insertions(+), 2 deletions(-)

-- 
2.56.0.317.g454f8302e1-goog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help