From: Herbert Xu Date: Thu, 10 Jun 2010 16:12:48 +0000 (+0000) Subject: netpoll: Allow netpoll_setup/cleanup recursion X-Git-Tag: v2.6.36-rc1~571^2~584 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fdd95ec162a8fbac7f41d6f54f90402fe3e8cb1;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed