mbox series

[net-next,0/5] nexthop: Small changes

Message ID 20200915114103.88883-1-idosch@idosch.org
Headers show
Series nexthop: Small changes | expand

Message

Ido Schimmel Sept. 15, 2020, 11:40 a.m. UTC
From: Ido Schimmel <idosch@nvidia.com>

This patch set contains a few small changes that I split out of the RFC
I sent last week [1]. Main change is the conversion of the nexthop
notification chain to a blocking chain so that it could be reused by
device drivers for nexthop objects programming in the future.

Tested with fib_nexthops.sh:

Tests passed: 164
Tests failed:   0

[1] https://lore.kernel.org/netdev/20200908091037.2709823-1-idosch@idosch.org/

Ido Schimmel (5):
  nexthop: Remove unused function declaration from header file
  nexthop: Remove NEXTHOP_EVENT_ADD
  nexthop: Convert to blocking notification chain
  nexthop: Only emit a notification when nexthop is actually deleted
  selftests: fib_nexthops: Test cleanup of FDB entries following nexthop
    deletion

 include/net/netns/nexthop.h                 |  2 +-
 include/net/nexthop.h                       |  4 ----
 net/ipv4/nexthop.c                          | 17 +++++++++--------
 tools/testing/selftests/net/fib_nexthops.sh | 14 ++++++++++++++
 4 files changed, 24 insertions(+), 13 deletions(-)