[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160325.151636.590435237623997861.davem@davemloft.net>
Date: Fri, 25 Mar 2016 15:16:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: helgaas@...nel.org
Cc: nhorman@...hat.com, bhelgaas@...gle.com,
nikolay@...ulusnetworks.com, netdev@...r.kernel.org,
aduyck@...antis.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] netpoll: Fix extra refcount release in
netpoll_cleanup()
From: Bjorn Helgaas <helgaas@...nel.org>
Date: Fri, 25 Mar 2016 11:46:39 -0500
> You're right, there is an issue here. I reproduced a problem with a
> bond device. bond_netpoll_setup() calls __netpoll_setup() directly
> (not netpoll_setup()). I'll debug it more; just wanted to let you
> know there *is* a problem with this patch.
I bet that's why the assignment to np->dev and the reference counting
were separated in the first place :-/
Indeed, commit 30fdd8a082a00126a6feec994e43e8dc12f5bccb:
commit 30fdd8a082a00126a6feec994e43e8dc12f5bccb
Author: Jiri Pirko <jiri@...nulli.us>
Date: Tue Jul 17 05:22:35 2012 +0000
netpoll: move np->dev and np->dev_name init into __netpoll_setup()
Signed-off-by: Jiri Pirko <jiri@...nulli.us>
Signed-off-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists