From: Jiri Pirko <[email protected]> Date: Sat, 17 Feb 2018 00:30:44 +0100
> From: Ido Schimmel <[email protected]> > > 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 <[email protected]> > Reported-by: Alexander Petrovskiy <[email protected]> > Tested-by: Alexander Petrovskiy <[email protected]> > Signed-off-by: Jiri Pirko <[email protected]> > --- > Dave, please, push to stable. Thanks! Applied and queued up for -stable, thanks Jiri!
