Thread (22 messages) flat view 22 messages, 2 authors, 1d ago

Re: [PATCH net-next v5 03/10] ipv6: record the reason for kernel-initiated route deletions

From: Ido Schimmel <idosch@nvidia.com>
Date: 2026-08-07 16:22:57
Also in: linux-kselftest, lkml

On Tue, Aug 04, 2026 at 10:47:07AM +0900, Yuyang Huang wrote:
Record why the kernel deletes an IPv6 route on its own:

- RT_DEL_REASON_EXPIRED for routes reaped by the FIB6 garbage
  collector after their RTF_EXPIRES lifetime ran out.
- RT_DEL_REASON_RA_WITHDRAWN for default routes, prefix routes and
  RFC 4191 route information routes withdrawn by a zero-lifetime
  Router Advertisement.

Deleting a default route because its metric changed is not a
withdrawal, so it keeps RT_DEL_REASON_UNSPEC.

Signed-off-by: Yuyang Huang <redacted>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help