On 9/8/20 3:10 AM, Ido Schimmel wrote:
> From: Ido Schimmel <ido...@nvidia.com>
> 
> When a single nexthop is replaced, the configuration of all the groups
> using the nexthop is effectively modified. In this case, emit a
> notification in the nexthop notification chain for each modified group
> so that listeners would not need to keep track of which nexthops are
> member in which groups.
> 
> The notification can only be emitted after the new configuration (i.e.,
> 'struct nh_info') is pointed at by the old shell (i.e., 'struct
> nexthop'). Before that the configuration of the nexthop groups is still
> the same as before the replacement.
> 
> Signed-off-by: Ido Schimmel <ido...@nvidia.com>
> ---
>  net/ipv4/nexthop.c | 32 ++++++++++++++++++++++++++++++--
>  1 file changed, 30 insertions(+), 2 deletions(-)
> 

Reviewed-by: David Ahern <dsah...@gmail.com>


Reply via email to