[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230809140234.3879929-1-liuhangbin@gmail.com>
Date: Wed, 9 Aug 2023 22:02:32 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Ido Schimmel <idosch@...dia.com>,
David Ahern <dsahern@...nel.org>,
Benjamin Poirier <bpoirier@...dia.com>,
Thomas Haller <thaller@...hat.com>,
Stephen Hemminger <stephen@...workplumber.org>,
Eric Dumazet <edumazet@...gle.com>,
Hangbin Liu <liuhangbin@...il.com>
Subject: [PATCHv2 net-next 0/2] send notify when delete source address routes
After deleting an interface address, the relate perfer source address routes
are also deleted. But there is no notify for the route deleting, which makes
route daemons like NetworkManager keep a wrong cache. Fix this by sending
notify when delete src routes.
Run fib_tests.sh and all passed.
Tests passed: 203
Tests failed: 0
v2: Add a bit in fib_info to mark the deleted src route.
Hangbin Liu (2):
fib: convert fib_nh_is_v6 and nh_updated to use a single bit
ipv4/fib: send notify when delete source address routes
include/net/ip_fib.h | 5 +++--
net/ipv4/fib_semantics.c | 3 ++-
net/ipv4/fib_trie.c | 4 ++++
net/ipv4/nexthop.c | 4 ++--
4 files changed, 11 insertions(+), 5 deletions(-)
--
2.38.1
Powered by blists - more mailing lists