]> 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)
commit7fcd4c323fdf0a7f90729a0d6e4c772b5a18a782
tree822cbccb37d32c4f6296fa5cc6b764f1e095510f
parent634f6305cf71d5a21280c09c47857f4482891784
parent948ff37ec380a521f8716359fb87d2041105d08e
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>