mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
netdevsim: Ignore IPv6 multipath notifications
In a similar fashion to previous patch, have netdevsim ignore IPv6 multipath notifications for now. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f6c3bb7516
commit
d133e4f1fa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user