Re: [PATCH net-next 0/2] ipv6: report why a route was deleted in RTM_DELROUTE

From: Ido Schimmel

Date: Sun Jul 19 2026 - 02:53:36 EST


On Sat, Jul 18, 2026 at 07:23:25AM +0900, Yuyang Huang wrote:
> When the kernel deletes an IPv6 route on its own, the RTM_DELROUTE
> notification does not say why. User space cannot tell a route that
> expired from one the router explicitly withdrew, yet the two call for
> different reactions: an expired RA route means the router failed to
> refresh it in time, which points at a misconfigured or unreliable
> router and may warrant action such as disabling IPv6 on that network,
> while a zero-lifetime withdrawal is normal, RFC-compliant operation.

Please expand more on the motivation: Which user space application is
going to consume this information and what is it going to do with it?

Also, Sashiko has some valid comments. Please take a look.