We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 243198d commit a3dbbc2Copy full SHA for a3dbbc2
net/core/netpoll.c
@@ -206,7 +206,7 @@ static void netpoll_poll_dev(struct net_device *dev)
206
* the dev_open/close paths use this to block netpoll activity
207
* while changing device state
208
*/
209
- if (!down_trylock(&ni->dev_lock))
+ if (down_trylock(&ni->dev_lock))
210
return;
211
212
if (!netif_running(dev)) {
0 commit comments