Re: [PATCH v2] Generate netlink notification when default IPv6 route preference changes

From: David Ahern
Date: Sat Feb 12 2022 - 14:33:09 EST


On 2/10/22 2:09 PM, Kalash Nainwal wrote:
> Generate RTM_NEWROUTE netlink notification when the route preference
> changes on an existing kernel generated default route in response to
> RA messages. Currently netlink notifications are generated only when
> this route is added or deleted but not when the route preference
> changes, which can cause userspace routing application state to go
> out of sync with kernel.
>
> Signed-off-by: Kalash Nainwal <kalash@xxxxxxxxxx>
> ---
> net/ipv6/ndisc.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>

Reviewed-by: David Ahern <dsahern@xxxxxxxxxx>