On Wed, Mar 15, 2017 at 09:22:10AM -0600, David Ahern wrote:
> On 3/15/17 5:05 AM, Jiri Pirko wrote:
> > @@ -2510,10 +2511,20 @@ static void mlxsw_sp_router_fib4_abort(struct
> > mlxsw_sp *mlxsw_sp)
> > dev_warn(mlxsw_sp->bus_info->dev, "Failed to set abort
> > trap.\n");
> > }
> >
On 3/15/17 5:05 AM, Jiri Pirko wrote:
> @@ -2510,10 +2511,20 @@ static void mlxsw_sp_router_fib4_abort(struct
> mlxsw_sp *mlxsw_sp)
> dev_warn(mlxsw_sp->bus_info->dev, "Failed to set abort
> trap.\n");
> }
>
> +static bool mlxsw_sp_fib4_rule_default(const struct fib_rule *rule)
From: Ido Schimmel
In commit c3852ef7f2f8 ("ipv4: fib: Replay events when registering FIB
notifier") we dumped the FIB tables and replayed the events to the
passed notification block.
However, we merely sent a RULE_ADD notification in case custom rules
were in use. As