From: Jiri Pirko <j...@resnulli.us> Date: Sat, 17 Feb 2018 00:30:44 +0100
> From: Ido Schimmel <ido...@mellanox.com> > > When mlxsw replaces (or deletes) a route it removes the offload > indication from the replaced route. This is problematic for IPv4 routes, > as the offload indication is stored in the fib_info which is usually > shared between multiple routes. > > Instead of unconditionally clearing the offload indication, only clear > it if no other route is using the fib_info. > > Fixes: 3984d1a89fe7 ("mlxsw: spectrum_router: Provide offload indication > using nexthop flags") > Signed-off-by: Ido Schimmel <ido...@mellanox.com> > Reported-by: Alexander Petrovskiy <ale...@mellanox.com> > Tested-by: Alexander Petrovskiy <ale...@mellanox.com> > Signed-off-by: Jiri Pirko <j...@mellanox.com> > --- > Dave, please, push to stable. Thanks! Applied and queued up for -stable, thanks Jiri!