Commit deb0d7c740a008a4e26806317497549b0e8907eb

Authored by Andrew Morton
Committed by David S. Miller
1 parent 8244132ea8

net: fix "netpoll: Allow netpoll_setup/cleanup recursion"

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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -748,7 +748,6 @@
748 748  
749 749 /* last thing to do is link it to the net device structure */
750 750 rcu_assign_pointer(ndev->npinfo, npinfo);
751   - rtnl_unlock();
752 751  
753 752 return 0;
754 753