Commit d133e4f1 authored by Ido Schimmel's avatar Ido Schimmel Committed by David S. Miller

netdevsim: Ignore IPv6 multipath notifications

In a similar fashion to previous patch, have netdevsim ignore IPv6
multipath notifications for now.
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f6c3bb75
......@@ -190,6 +190,13 @@ static int nsim_fib_event_nb(struct notifier_block *nb, unsigned long event,
case FIB_EVENT_ENTRY_ADD: /* fall through */
case FIB_EVENT_ENTRY_DEL:
if (info->family == AF_INET6) {
struct fib6_entry_notifier_info *fen6_info = ptr;
if (fen6_info->multipath_rt)
return NOTIFY_DONE;
}
err = nsim_fib_event(data, info,
event == FIB_EVENT_ENTRY_ADD);
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment