diff options
author | Tommy Christensen <tommy.christensen@tpack.net> | 2005-07-12 21:13:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-12 21:13:49 +0200 |
commit | f4637b55ba960d9987a836617271659e9b7b0de8 (patch) | |
tree | 3fa0763a55ce21fa4a26feae2866773439c7e620 /arch/v850 | |
parent | [NET]: __be'ify *_type_trans() (diff) | |
download | linux-f4637b55ba960d9987a836617271659e9b7b0de8.tar.xz linux-f4637b55ba960d9987a836617271659e9b7b0de8.zip |
[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>
Diffstat (limited to 'arch/v850')
0 files changed, 0 insertions, 0 deletions