aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-12-23 15:28:20 +0200
committerDavid S. Miller <davem@davemloft.net>2019-12-24 22:37:30 -0800
commitcaafb2509fac1432849650826953dd88b7cbe374 (patch)
treed788e210dc390a32965ccca4fa73fa68d6c00177 /drivers/net/netdevsim
parentmlxsw: spectrum_router: Start using new IPv6 route notifications (diff)
downloadlinux-dev-caafb2509fac1432849650826953dd88b7cbe374.tar.xz
linux-dev-caafb2509fac1432849650826953dd88b7cbe374.zip
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.c1
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;