Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2005 14:16:32 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_var.h
Message-ID:  <200508021416.33768.jhb@FreeBSD.org>
In-Reply-To: <200508021743.j72HhZRj009221@repoman.freebsd.org>
References:  <200508021743.j72HhZRj009221@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 02 August 2005 01:43 pm, Robert Watson wrote:
> rwatson     2005-08-02 17:43:35 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/net              if_var.h
>   Log:
>   Add if_addr_mtx to struct ifnet, a mutex to protect ifnet-related address
>   lists.  Add accessor macros.
>
>   This changes the size of struct ifnet, but ideally, all ifnet consumers
>   are now using if_alloc() to allocate these structures rather than
>   embedding them into device driver softc's, so this won't modify the
>   network device driver ABI.
>
>   MFC after:      1 week

It still modifies the ABI because of all the code that does 'ifp->if_foo' 
unless you've added it to the end.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508021416.33768.jhb>