]> 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)
commitc002fb88c77887b982a9bec1ce4a792d9eee95ff
tree9402b553070dd07e75761562d488070510ad8959
parentbe1a6919c4f9f24bf30ca5cf7a8955ba347ab309
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