OpenCloudOS-Kernel/net/8021q
Tommy Christensen f4637b55ba [VLAN]: Fix early vlan adding leads to not functional device
OK, I can see what's happening here. eth0 doesn't detect link-up until
after a few seconds, so when the vlan interface is opened immediately
after eth0 has been opened, it inherits the link-down state. Subsequently
the vlan interface is never properly activated and are thus unable to
transmit any packets.

dev->state bits are not supposed to be manipulated directly. Something
similar is probably needed for the netif_device_present() bit, although
I don't know how this is meant to work for a virtual device.

Signed-off-by: David S. Miller <davem@davemloft.net>
2005-07-12 12:13:49 -07:00
..
Kconfig [NET]: move config options out to individual protocols 2005-07-11 21:13:56 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vlan.c [VLAN]: Fix early vlan adding leads to not functional device 2005-07-12 12:13:49 -07:00
vlan.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vlan_dev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vlanproc.c [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
vlanproc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00