svn commit: r185344 - in head/sys: netinet netinet6

Bjoern A. Zeeb bz at FreeBSD.org
Wed Nov 26 13:15:08 PST 2008


On Wed, 26 Nov 2008, Max Laier wrote:

> On Wednesday 26 November 2008 21:52:27 Bjoern A. Zeeb wrote:
>> Author: bz
>> Date: Wed Nov 26 20:52:26 2008
>> New Revision: 185344
>> URL: http://svn.freebsd.org/changeset/base/185344
>>
>> Log:
>>   Remove in6_pcbdetach() as it is exactly the same function
>>   as in_pcbdetach() and we don't need the code twice.
>>
>>   Reviewed by:	rwatson
>>   MFC after:	6 weeks (*)
>>   (*) possibly need to leave a stub wrapper in 7 to keep the symbol.
>
> Won't this affect our ability to build INET6, but non INET kernels?  Not that
> we currently could, but if we ever wanted to?

Nope. though maybe for the moment. The point is if you go by that
argument you would have to duplicate half of the network stack.

The trick will be to hide the IPv4 only parts with #ifdef INET in the
next step and compile the common code  optional inet || inet6 but I
need to check our build foo and it'll be a long way there anyway...

-- 
Bjoern A. Zeeb              Stop bit received. Insert coin for new game.


More information about the svn-src-all mailing list