diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-08-15 17:48:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-15 13:48:07 -0700 |
commit | 57c1826b991244d2144eb6e3d5d1b13a53cbea63 (patch) | |
tree | 93cd1c7896df49a7e4b6ecfded73b984cc03e338 /kernel/cpu.c | |
parent | d072218f214929194db06069564495b6b9fff34a (diff) | |
download | blackbird-op-linux-57c1826b991244d2144eb6e3d5d1b13a53cbea63.tar.gz blackbird-op-linux-57c1826b991244d2144eb6e3d5d1b13a53cbea63.zip |
hv_netvsc: reset vf_inject on VF removal
We reset vf_inject on VF going down (netvsc_vf_down()) but we don't on
VF removal (netvsc_unregister_vf()) so vf_inject stays 'true' while
vf_netdev is already NULL and we're trying to inject packets into NULL
net device in netvsc_recv_callback() causing kernel to crash.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions