ifnet cloning changes
thompsa at freebsd.org
Sat Apr 8 03:15:05 UTC 2006
On Fri, Apr 07, 2006 at 06:07:34PM -0700, Sam Leffler wrote:
> The patch here:
> 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).
More information about the freebsd-arch