From: Ido Schimmel <ido...@nvidia.com> This series contains various fixes for the nexthop code. The bugs were uncovered during the development of resilient nexthop groups.
Patches #1-#2 fix the error path of nexthop_create_group(). I was not able to trigger these bugs with current code, but it is possible with the upcoming resilient nexthop groups code which adds a user controllable memory allocation further in the function. Patch #3 fixes wrong validation of netlink attributes. Patch #4 fixes wrong invocation of mausezahn in a selftest. Ido Schimmel (3): nexthop: Fix off-by-one error in error path nexthop: Unlink nexthop group entry in error path selftests: fib_nexthops: Fix wrong mausezahn invocation Petr Machata (1): nexthop: Bounce NHA_GATEWAY in FDB nexthop groups net/ipv4/nexthop.c | 6 ++++-- tools/testing/selftests/net/fib_nexthops.sh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) -- 2.29.2