diff options
author | Haiyang Zhang <[email protected]> | 2013-04-05 11:44:39 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-04-08 12:15:17 -0400 |
commit | fd5c07a8d6a10c7112b19f3b0d428627c62b06ab (patch) | |
tree | 49a8fa87998a4d935b1239c4f6653a107fc89a15 /tools/perf | |
parent | c988d1e8cbf722e34ee6124b8b89d47fec655b51 (diff) |
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 <[email protected]>
Tested-by: Long Li <[email protected]>
Tested-by: Richard Genoud <[email protected]>
Signed-off-by: Haiyang Zhang <[email protected]>
Reviewed-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions