Date: Thu, 15 Feb 2001 08:38:44 -0800 From: Julian Elischer <julian@elischer.org> To: Adrian Chadd <adrian@FreeBSD.org> Cc: freebsd-net@FreeBSD.org Subject: Re: vlan panics? Message-ID: <3A8C0614.3131FB3@elischer.org> References: <20010215061533.A68002@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Adrian Chadd wrote:
>
> 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.
there's an fxp-Vlan patch floating around somewhere.
>
> Opinions?
>
> Thanks!
>
> Adrian
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
--
__--_|\ Julian Elischer
/ \ julian@elischer.org
( OZ ) World tour 2000-2001
---> X_.---._/
v
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8C0614.3131FB3>
