projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8244132
)
net: fix "netpoll: Allow netpoll_setup/cleanup recursion"
author
Andrew Morton
<akpm@linux-foundation.org>
Fri, 25 Jun 2010 03:33:04 +0000
(20:33 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 25 Jun 2010 03:33:04 +0000
(20:33 -0700)
Remove rtnl_unlock() which had no corresponding rtnl_lock().
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/netpoll.c
b/net/core/netpoll.c
index 560297ee55b40124c9da83a2d676e349b19eca51..ca6dc31843eaf9ca7f3cc480ad70481b63971fd1 100644
(file)
--- a/
net/core/netpoll.c
+++ b/
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;