diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-08-07 11:30:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-08 18:09:52 -0700 |
commit | 7b83f52047e8a3d551a9495b0267df5d0754c5bf (patch) | |
tree | 06de5d3c75b36b18e501c148a5067833304ca3c0 /kernel/bpf/syscall.c | |
parent | c99c287254e1d2816e2f4b01df9049b88b205bc5 (diff) |
netvsc: make sure and unregister datapath
Go back to switching datapath directly in the notifier callback.
Otherwise datapath might not get switched on unregister.
No need for calling the NOTIFY_PEERS notifier since that is only for
a gratitious ARP/ND packet; but that is not required with Hyper-V
because both VF and synthetic NIC have the same MAC address.
Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Fixes: 0c195567a8f6 ("netvsc: transparent VF management")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions