[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200915114103.88883-1-idosch@idosch.org>
Date: Tue, 15 Sep 2020 14:40:58 +0300
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, dsahern@...il.com,
mlxsw@...dia.com, Ido Schimmel <idosch@...dia.com>
Subject: [PATCH net-next 0/5] nexthop: Small changes
From: Ido Schimmel <idosch@...dia.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(-)
--
2.26.2
Powered by blists - more mailing lists