Re: 802.1q + device removal causing hang

From: Simon Kirby (sim@netnation.com)
Date: Thu Sep 12 2002 - 18:49:22 EST


On Wed, Sep 11, 2002 at 03:31:32PM -0700, David S. Miller wrote:

> Try this:
>
> --- net/8021q/vlan.c.~1~ Wed Sep 11 15:34:49 2002
> +++ net/8021q/vlan.c Wed Sep 11 15:34:59 2002
> @@ -626,7 +626,7 @@
> ret = unregister_vlan_dev(dev,
> VLAN_DEV_INFO(vlandev)->vlan_id);
>
> - unregister_netdev(vlandev);
> + unregister_netdevice(vlandev);
>
> /* Group was destroyed? */
> if (ret == 1)

Woops, sorry about the erik.ca domain.

Yup, this fixed it!

Simon-

[ Stormix Technologies Inc. ][ NetNation Communications Inc. ]
[ sim@stormix.com ][ sim@netnation.com ]
[ Opinions expressed are not necessarily those of my employers. ]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:31 EST