fix "netpoll: Allow netpoll_setup/cleanup recursion"
Subsystems (2)
PATCH 1/1 fix "netpoll: Allow netpoll_setup/cleanup recursion"
From: Andrew Morton <[email protected]>
Remove rtnl_unlock() which had no corresponding rtnl_lock().
Acked-by Herbert Xu <[email protected]>
Cc David S. Miller <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
net/core/netpoll.c | 1 - 1 file changed, 1 deletion(-)
net/core/netpoll.c renamed from net/core/netpoll.c~fix-netpoll-allow-netpoll_setup-cleanup-recursion +0 -1
@@ -748,7 +748,6 @@ int __netpoll_setup(struct netpoll *np)/* last thing to do is link it to the net device structure */ rcu_assign_pointer (ndev->npinfo, npinfo); -rtnl_unlock ();return 0 ;
_
David Miller
maintainerFrom: [email protected]
Date: Thu, 24 Jun 2010 20:54:01 -0700
Quoted 7 lines
From: Andrew Morton <[email protected]>
Remove
rtnl_unlock()which had no correspondingrtnl_lock().Acked-by Herbert Xu <[email protected]>Cc David S. Miller <[email protected]>Signed-off-by Andrew Morton <[email protected]>
I found a time machine and applied this before you even posted it here :-)