Hi,
I'm using the vlan code in FreeBSD-stable.
I've discovered that on the fxp, if I ifconfig a vlan up without
ifconfig'ing the parent interface (fxp) up, I'll get a panic.
I don't have the bt handy at the moment but basically the codepath
is bringing the vlan interface up, sending the gratuituous(sp)? arp
request out the vlan interface, which sends it out the parent interface.
The fxp code doesn't check whether the interface has been initialised
when it attempts to queue a packet for outbound, and you get a panic.
When I try the same thing on a machine with a tl interface it works
fine.
Now, I can hear people shouting "fix the fxp driver!", but I'm not
sure that is the right solution. (However I do believe the fxp
driver should have a check in there in any case.)
I believe that if a vlan interface is attached to a device and configured
up the device itself should also be configured up. This way the initial
gratuituous(sp?) arp request will make it on to the wire.
Opinions?
Thanks!
Adrian
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message