netpoll again ? (was: Re: 2.6.20-git14 rtl8139 possible circular locking dependency detected)
From: Francois Romieu
Date: Sat Feb 17 2007 - 17:58:25 EST
Francois Romieu <romieu@xxxxxxxxxxxxx> :
> Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx> :
> Did you enable RTL8139_DEBUG ?
> If so you can try the patch below.
It's buggy there too but you are not experiencing this one.
1 - netpoll() calls the poll() handler of the device through netpoll_poll()
2 - The poll handler of the device tries to acquire dev->_xmit_lock
through dev_mc_add during the Rx protocol processing
3 - netpoll() holds dev->_xmit_lock to avoid recursion in netpoll_poll()
#2 and #3 have opposite requirements.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/