cvs commit: src/sys/net if.c if.h if_ethersubr.c if_var.h src/sys/net80211 ieee80211_output.c ieee80211_proto.c

Roman Kurakin rik at cronyx.ru
Wed Jul 28 05:57:46 PDT 2004


Dag-Erling Smørgrav wrote:

>Robert Watson <rwatson at 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
>  
>





More information about the cvs-src mailing list