diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-12-23 16:28:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-25 09:37:30 +0300 |
commit | caafb2509fac1432849650826953dd88b7cbe374 (patch) | |
tree | d788e210dc390a32965ccca4fa73fa68d6c00177 /drivers/net/netdevsim | |
parent | dacad7b34b59fb06a242ef2cf64205f04f7c5339 (diff) | |
download | linux-caafb2509fac1432849650826953dd88b7cbe374.tar.xz |
ipv6: Remove old route notifications and convert listeners
Now that mlxsw is converted to use the new FIB notifications it is
possible to delete the old ones and use the new replace / append /
delete notifications.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim')
-rw-r--r-- | drivers/net/netdevsim/fib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/netdevsim/fib.c b/drivers/net/netdevsim/fib.c index 4e02a4231fcb..b5df308b4e33 100644 --- a/drivers/net/netdevsim/fib.c +++ b/drivers/net/netdevsim/fib.c @@ -178,7 +178,6 @@ static int nsim_fib_event_nb(struct notifier_block *nb, unsigned long event, break; case FIB_EVENT_ENTRY_REPLACE: /* fall through */ - case FIB_EVENT_ENTRY_ADD: /* fall through */ case FIB_EVENT_ENTRY_DEL: err = nsim_fib_event(data, info, event != FIB_EVENT_ENTRY_DEL); break; |