OSDN Git Service

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)
commit484a4dfb7558bd3e3139bd9df026f645b07478dd
tree270956aa5e1df7c0bfe2b5f9c1d2a13db9f84259
parent6fad361ae9f43616bc6a3acc9180e75396031fe1
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