]> git.neil.brown.name Git - history.git/commit
[VLAN]: Fix device refcount bug.
authorStephen Hemminger <shemminger@osdl.org>
Mon, 9 Aug 2004 09:36:44 +0000 (02:36 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Mon, 9 Aug 2004 09:36:44 +0000 (02:36 -0700)
commit22b11292dec64f44325c2ad3f968114d7975c7f2
tree5292bde8cd91216a51a65fe6734e3a76cd6eb83a
parent010a2c6560603b1297d22680a5dab9fb2413fb9e
[VLAN]: Fix device refcount bug.

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.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
net/8021q/vlan.c