Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2004 16:53:14 +0400
From:      Roman Kurakin <rik@cronyx.ru>
To:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if.c if.h if_ethersubr.c if_var.h src/sys/net80211 ieee80211_output.c ieee80211_proto.c
Message-ID:  <4107A1BA.5090808@cronyx.ru>
In-Reply-To: <xzpvfg8mr80.fsf@dwp.des.no>
References:  <200407272320.i6RNKj11064328@repoman.freebsd.org> <xzpvfg8mr80.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:

>Robert Watson <rwatson@FreeBSD.org> writes:
>  
>
>>rwatson     2004-07-27 23:20:45 UTC
>>
>>  FreeBSD src repository
>>
>>  Modified files:
>>    sys/net              if.c if.h if_ethersubr.c if_var.h 
>>    sys/net80211         ieee80211_output.c ieee80211_proto.c 
>>    
>>
>
>this breaks the world - if_var.h is used in userland and is therefore
>not allowed to include <sys/_task.h> directly.
>  
>
if_slvar.h from rwatsons netperf branch also has this problem and it 
could be solved by
adding ifdef _KERNEL around include and variables. Probably we could do 
the same here.
But I am not sure that nobody from userspace would care about exact size 
of inet structure.

rik

>DES
>  
>





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