]> git.baikalelectronics.ru Git - kernel.git/commit
netdevsim: fib: Do not warn if route was not found for several events
authorAmit Cohen <amcohen@nvidia.com>
Sun, 7 Feb 2021 08:22:54 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Feb 2021 00:47:03 +0000 (16:47 -0800)
commit0f06c53c3778e1e163b5224480f8741e830971d3
tree270956aa5e1df7c0bfe2b5f9c1d2a13db9f84259
parentf24e991b8ea7a264eb41ca760b7fe592d1145ab0
netdevsim: fib: Do not warn if route was not found for several events

The next patch will add the ability to fail route offload controlled by
debugfs variable called "fail_route_offload".

If we vetoed the addition, we might get a delete or append notification
for a route we do not have. Therefore, do not warn if route was not found.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/fib.c