From: Ido Schimmel <ido...@nvidia.com>

This patch set contains various improvements that I made to the nexthop
object code while studying it towards my upcoming changes.

While patches #4 and #6 fix bugs, they are not regressions (never
worked). They also do not occur to me as critical issues, which is why I
am targeting them at net-next.

Tested with fib_nexthops.sh:

Tests passed: 134
Tests failed:   0

Ido Schimmel (7):
  ipv4: nexthop: Reduce allocation size of 'struct nh_group'
  ipv4: nexthop: Use nla_put_be32() for NHA_GATEWAY
  ipv4: nexthop: Remove unnecessary rtnl_dereference()
  ipv4: nexthop: Correctly update nexthop group when removing a nexthop
  selftests: fib_nexthops: Test IPv6 route with group after removing
    IPv4 nexthops
  ipv4: nexthop: Correctly update nexthop group when replacing a nexthop
  selftests: fib_nexthops: Test IPv6 route with group after replacing
    IPv4 nexthops

 net/ipv4/nexthop.c                          | 49 ++++++++++++++++++---
 tools/testing/selftests/net/fib_nexthops.sh | 30 +++++++++++++
 2 files changed, 72 insertions(+), 7 deletions(-)

-- 
2.26.2

Reply via email to