On Wed, Mar 27, 2019 at 08:53:50PM -0700, David Ahern wrote: > From: David Ahern <dsah...@gmail.com> > > Similar to IPv4, consolidate the fib6_nh initialization into a helper. > As a new standalone function, add a cleanup path to put lwtstate on > error. > > To avoid modifying fib6_config flags, move the reject check to a helper > that is invoked once by fib6_nh_init to reset the device and then > again in ip6_route_info_create to set the fib6_flags. > > Signed-off-by: David Ahern <dsah...@gmail.com>
Reviewed-by: Ido Schimmel <ido...@mellanox.com>