Date: Sat, 8 Apr 2006 15:14:55 +1200 From: Andrew Thompson <thompsa@freebsd.org> To: Sam Leffler <sam@errno.com> Cc: arch@freebsd.org Subject: Re: ifnet cloning changes Message-ID: <20060408031455.GA20868@heff.fud.org.nz> In-Reply-To: <44370CD6.9090006@errno.com> References: <44370CD6.9090006@errno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 07, 2006 at 06:07:34PM -0700, Sam Leffler wrote: > The patch here: > > http://www.freebsd.org/~sam/clone.patch > > modifies the SIOCIFCREATE api in the kernel so that an opaque parameter > block can be passed down to ifnet cloning routines (actually the user > address is passed down and the caller must do the copyin since it alone > knows the size of the parameter block). This allows you to specify > parameters at the time a clone is done which can greatly simplify the > handling of cloned ifnets. This change is a prerequisite to bringing in > my 802.11 virtual ap work which depends on this to fix vap configuration > state at the time the vap is created. I think its a good idea. The src/sys/net/if_media.c change looks like its not meant to be there (in the final commit anyway). Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060408031455.GA20868>