Skip to content

Commit

Permalink
net: fix "netpoll: Allow netpoll_setup/cleanup recursion"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and David S. Miller committed Jun 25, 2010
1 parent 8244132 commit deb0d7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/core/netpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit deb0d7c

Please sign in to comment.