Re: [PATCH net-next v6 01/10] ipv6: add ip6_del_rt_reason()
Ido Schimmel <[email protected]>
| Newsgroups | gmane.linux.network,gmane.linux.kernel |
|---|---|
| Message-ID | <20260809085043.GA2339479@shredder> |
On Sat, Aug 08, 2026 at 09:56:33AM +0900, Yuyang Huang wrote: > Add RTA_DEL_REASON and enum rt_del_reason to the rtnetlink uAPI, and > add ip6_del_rt_reason(), which takes the reason a route is being > deleted. It has no skip_notify argument: a caller that records a > deletion reason wants the notification that carries it. > > The reason is unused for now. Subsequent patches propagate it to the > deletion path and report it on RTM_DELROUTE. > > Signed-off-by: Yuyang Huang <[email protected]> " Discovered by: opus-5, old-prompts · Missed by: sashiko-gemini Is the statement "the kernel rejects it in requests" accurate for the whole shared RTA_* namespace? " Nitpick. It's accurate for IPv6 which is the only address family that currently emits the new attribute. It's also accurate for IPv4. Other address families (MPLS / PHONET / IPMR) can start making use of strict_start_type in their policies, but it doesn't belong in this series. Reviewed-by: Ido Schimmel <[email protected]>