Subject: Re: [PATCH 2.6] vlan - device refcount bug.

From: Ben Greear <[email-masked]>
Date: Tue, 03 Aug 2004 13:36:16 -0700

Stephen Hemminger wrote:
> If you rmmod a network device that is in a vlan, the system hangs waiting
> for the refcount to go to zero, because it is -1.  The problem is that the
> vlan notifier does an extra dev_put in NETDEV_UNREGISTER case of notifier.

Good catch.  It would seem to me that it would be good to have a
BUG() or similar to catch any instance of the reference count going
negative.

Ben

-- 
Ben Greear <[email-masked]>
Candela Technologies Inc  http://www.candelatech.com