2013/3/6 Haiyang Zhang <haiya...@microsoft.com>: > I have found a simple way to reproduce this kind of warning: > 1) reboot the VM (because this warning can be displayed only once.) > 2) login to the host and open the VM [Settings] > 3) Temporarily change the Network adapter's option [Virtual Switch] to "Not > connected". > 4) run dmesg, you should see the warning. > > 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() in the > netvsc_linkstatus_callback(). > I attached a patch. Would you like to test it on your side as well? > > Thanks, > - Haiyang > Thanks for your reply. I'll be able to test your patch in 2 or 3 weeks I guess (I haven't got any access to the hyperV machine, the admin-sys is on holiday, and it's a production server... So I don't want to mess with it right now :) )
Regards, Richard. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/