git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4247e16
)
netpoll: Allow netpoll_setup/cleanup recursion
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 10 Jun 2010 16:12:48 +0000
(16:12 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 15 Jun 2010 17:58:40 +0000
(10:58 -0700)
This patch adds the functions __netpoll_setup/__netpoll_cleanup
which is designed to be called recursively through ndo_netpoll_seutp.
They must be called with RTNL held, and the caller must initialise
np->dev and ensure that it has a valid reference count.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found