Re: [PATCH] Revert "netpoll: Fix extra refcount release in netpoll_cleanup()"

From: Bart Van Assche
Date: Wed Apr 06 2016 - 10:28:23 EST


On 04/05/16 13:58, Bjorn Helgaas wrote:
This reverts commit 543e3a8da5a4c453e992d5351ef405d5e32f27d7.

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: Bart Van Assche <bart.vanassche@xxxxxxxxxxx>
Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

Tested-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx>

Thanks!

Bart.