diff options
author | Tommy Christensen <tommy.christensen@tpack.net> | 2005-07-30 21:25:10 +0100 |
---|---|---|
committer | Chris Wright <chrisw@osdl.org> | 2005-08-05 00:04:24 -0700 |
commit | 31278a7db3987f5d1b487f11637096e1169582d1 (patch) | |
tree | c8b39e34b7a03d1da7fb34df549d94db0c5e060f /arch/i386 | |
parent | 685dd5ff54ea9b3333df75427bd91d9601813c23 (diff) |
[PATCH] Fix early vlan adding leads to not functional device
X-Git-Url: http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f4637b55ba960d9987a836617271659e9b7b0de8
[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>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Diffstat (limited to 'arch/i386')
0 files changed, 0 insertions, 0 deletions