On 9/8/20 3:10 AM, Ido Schimmel wrote: > From: Ido Schimmel <ido...@nvidia.com> > > Currently, the only listener of the nexthop notification chain is the > VXLAN driver. Subsequent patches will add more listeners (e.g., device > drivers such as netdevsim) that need to be able to block when processing > notifications. > > Therefore, convert the notification chain to a blocking one. This is > safe as notifications are always emitted from process context. > > Signed-off-by: Ido Schimmel <ido...@nvidia.com> > --- > include/net/netns/nexthop.h | 2 +- > net/ipv4/nexthop.c | 13 +++++++------ > 2 files changed, 8 insertions(+), 7 deletions(-)
Reviewed-by: David Ahern <dsah...@gmail.com>