netvsc: Initialize all channel related state prior to opening the channel
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 6 Apr 2017 21:59:21 +0000 (14:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Apr 2017 15:33:03 +0000 (08:33 -0700)
commitbffb184247bcc783a40a0e123a9a2de3c5b28157
tree9402b553070dd07e75761562d488070510ad8959
parent54a88e4cfc0dfaf12b2569b82cc5c5b43f5cde71
netvsc: Initialize all channel related state prior to opening the channel

Prior to opening the channel we should have all the state setup to handle
interrupts. The current code does not do that; fix the bug. This bug
can result in faults in the interrupt path.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/rndis_filter.c