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)
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>

Trivial merge