]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nexthop-blackhole'
authorDavid S. Miller <davem@davemloft.net>
Thu, 4 Mar 2021 22:04:49 +0000 (14:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Mar 2021 22:04:49 +0000 (14:04 -0800)
commitc1a4c31bba79f49f121b5c34c7b302393efc9ca3
tree822cbccb37d32c4f6296fa5cc6b764f1e095510f
parent17a4ba1b9e9fe096d64316b5e210ee4249fdffe3
parentadddd4176b8d6ff5451b996a896023b9e29991a7
Merge branch 'nexthop-blackhole'

Ido Schimmel says:

====================
nexthop: Do not flush blackhole nexthops when loopback goes down

Patch #1 prevents blackhole nexthops from being flushed when the
loopback device goes down given that as far as user space is concerned,
these nexthops do not have a nexthop device.

Patch #2 adds a test case.

There are no regressions in fib_nexthops.sh with this change:

 # ./fib_nexthops.sh
 ...
 Tests passed: 165
 Tests failed:   0
====================

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