]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nh-flushing'
authorDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2021 22:20:35 +0000 (15:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2021 22:20:35 +0000 (15:20 -0700)
commitbf6eca720f6ff291c57a0dae62f176b17572715a
tree88e81aa6a5ae89f4deb0f71177ca939fbcc3b052
parentc89d603a6b5426ef1bb0eba03f659ce2ae40e307
parentb20fe5564b51d1f0493341f3c27d3a1beac22e2d
Merge branch 'nh-flushing'

Ido Schimmel says:

====================
nexthop: Support large scale nexthop flushing

Patch #1 fixes a day-one bug in the nexthop code and allows "ip nexthop
flush" to work correctly with large number of nexthops that do not fit
in a single-part dump.

Patch #2 adds a test case.

Targeting at net-next since this use case never worked, the flow is
pretty obscure and such a large number of nexthops is unlikely to be
used in any real-world scenario.

Tested with fib_nexthops.sh:

Tests passed: 219
Tests failed:   0
====================

Signed-off-by: David S. Miller <davem@davemloft.net>