Re: [PATCH net-next] ipv4/fib: send RTM_DELROUTE notify when flush fib

David Ahern
2023-09-13T14:43:19Z

On 9/13/23 8:11 AM, Nicolas Dichtel wrote:
> The compat_mode was introduced for daemons that doesn't support the nexthop
> framework. There must be a notification (RTM_DELROUTE) when a route is deleted
> due to a carrier down event. Right now, the backward compat is broken.

The compat_mode is for daemons that do not understand the nexthop id
attribute, and need the legacy set of attributes for the route - i.e,
expand the nexthop information when sending messages to userspace.