summaryrefslogtreecommitdiff
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2016-08-15 17:48:41 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-15 13:48:07 -0700
commit57c1826b991244d2144eb6e3d5d1b13a53cbea63 (patch)
tree93cd1c7896df49a7e4b6ecfded73b984cc03e338 /mm/mm_init.c
parentd072218f214929194db06069564495b6b9fff34a (diff)
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 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions