On 9/8/20 3:10 AM, Ido Schimmel wrote: > From: Ido Schimmel <ido...@nvidia.com> > > Emit a notification in the nexthop notification chain when an existing > nexthop group is replaced. > > The notification is emitted after all the validation checks were > performed, but before the new configuration (i.e., 'struct nh_grp') is > pointed at by the old shell (i.e., 'struct nexthop'). This prevents the > need to perform rollback in case the notification is vetoed. > > Signed-off-by: Ido Schimmel <ido...@nvidia.com> > --- > net/ipv4/nexthop.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) >
Reviewed-by: David Ahern <dsah...@gmail.com>