summaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/rndis_filter.c
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2013-04-05 11:44:39 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-08 12:15:17 -0400
commitfd5c07a8d6a10c7112b19f3b0d428627c62b06ab (patch)
tree49a8fa87998a4d935b1239c4f6653a107fc89a15 /drivers/net/hyperv/rndis_filter.c
parentc988d1e8cbf722e34ee6124b8b89d47fec655b51 (diff)
downloadop-kernel-dev-fd5c07a8d6a10c7112b19f3b0d428627c62b06ab.zip
op-kernel-dev-fd5c07a8d6a10c7112b19f3b0d428627c62b06ab.tar.gz
hyperv: Fix a kernel warning from netvsc_linkstatus_callback()
The warning about local_bh_enable inside IRQ happens when disconnecting a virtual NIC. The reason for the warning is -- netif_tx_disable() is called when the NIC is disconnected. And it's called within irq context. netif_tx_disable() calls local_bh_enable() which displays warning if in irq. The fix is to remove the unnecessary netif_tx_disable & wake_queue() in the netvsc_linkstatus_callback(). Reported-by: Richard Genoud <richard.genoud@gmail.com> Tested-by: Long Li <longli@microsoft.com> Tested-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/rndis_filter.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud