Subject: Re: vlan0 and if_alloc_sadl
To: None <thorpej@zembu.com>
From: None <itojun@iijlab.net>
List: tech-net
Date: 01/29/2001 09:39:41
> > 	if we don't have AF_LINK address attached to ifp, ifp->if_addrlist
> > 	will be empty.  sysctl_iflist (and maybe others) assume that
> > 	ifp->if_addrlist is non-empty.
>Yah, i think the right thing is to make sure that those things can
>deal with an empty addrlist.

	it seems that there are lots of other places where ifp->if_addrlist
	is assumed to be non-null.  it seems easier to me if
	we could either:
	- swap AF_LINK on "ifconfig vlan0 vlan foo", or
	- allocate a big-enough one and rewrite it on configuration

itojun