]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit297c16486ec351a0c4456e760a552267b24a5849
tree9402b553070dd07e75761562d488070510ad8959
parent2439adb52528edffe4c9ac5e47cc0fbfabc196c7
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