[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1717087015.git.pabeni@redhat.com>
Date: Thu, 30 May 2024 19:21:00 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
David Ahern <dsahern@...nel.org>,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next 0/3] dst_cache: cope with device removal
Eric reported a net device refcount leak and diagnosed the root cause
as the dst_cache not coping well with the underlying device removal.
To address such issue, this series introduces the infrastructure to let
the existing uncached list handle the relevant cleanup.
Patch 1 and 2 are preparation changes to make the uncached list infra
more flexible for the new use-case, and patch 3 addresses the issue.
---
Targeting net-next as the addressed problem is quite ancient and I fear
some unexpected side effects for patch 2.
Paolo Abeni (3):
ipv6: use a new flag to indicate elevated refcount.
ipv4: obsolete routes moved out of per cpu cache
dst_cache: let rt_uncached cope with dst_cache cleanup
include/net/ip6_fib.h | 3 +++
net/core/dst_cache.c | 8 ++++++++
net/ipv4/route.c | 2 +-
net/ipv6/route.c | 4 ++--
4 files changed, 14 insertions(+), 3 deletions(-)
--
2.43.2
Powered by blists - more mailing lists