commit | 8fdd95ec162a8fbac7f41d6f54f90402fe3e8cb1 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 10 16:12:48 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 15 10:58:40 2010 -0700 |
tree | e326d2640054c986fd5458719a45c4ef630953a8 | |
parent | 4247e161b12f8dffb7ee3ee07bc5e61f714ebe2d [diff] |
netpoll: Allow netpoll_setup/cleanup recursion 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>