[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <201006250353.o5P3rwti014499@imap1.linux-foundation.org>
Date: Thu, 24 Jun 2010 20:54:01 -0700
From: akpm@...ux-foundation.org
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, akpm@...ux-foundation.org,
herbert@...dor.hengli.com.au
Subject: [patch 1/1] fix "netpoll: Allow netpoll_setup/cleanup recursion"
From: Andrew Morton <akpm@...ux-foundation.org>
Remove rtnl_unlock() which had no corresponding rtnl_lock().
Acked-by: Herbert Xu <herbert@...dor.apana.org.au>
Cc: David S. Miller <davem@...emloft.net>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---
net/core/netpoll.c | 1 -
1 file changed, 1 deletion(-)
diff -puN net/core/netpoll.c~fix-netpoll-allow-netpoll_setup-cleanup-recursion net/core/netpoll.c
--- a/net/core/netpoll.c~fix-netpoll-allow-netpoll_setup-cleanup-recursion
+++ a/net/core/netpoll.c
@@ -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;
_
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists