Revert "netpoll: Fix extra refcount release in netpoll_cleanup()"
This reverts commit 543e3a8d. Direct callers of __netpoll_setup() depend on it to set np->dev, so we can't simply move that assignment up to netpoll_stup(). Reported-by: NBart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: NBjorn Helgaas <bhelgaas@google.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录