Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/net



In article <20070601093547.9B4D921507%cvs.netbsd.org@localhost>,
enami tsugutomo  <enami%netbsd.org@localhost> wrote:
>
>Module Name:   src
>Committed By:  enami
>Date:          Fri Jun  1 09:35:47 UTC 2007
>
>Modified Files:
>       src/sys/net: if.c
>
>Log Message:
>Fix some bugs in ifconf():
>- maintain space left correctly.  the pointer is advanced by the size
>  of struct ifreq when length of address is small.
>- single sizeof operator is enough to take the size of struct.
>- the type of `sz' must be singed type since it is/was compared against to
>  the variable which may become negative.
>- no need to traverse rest of interfaces once we got an error.  note that
>  the latter `break' statement was inside inner loop.
>

Do you want to propagate these to /usr/src/sys/compat/common/uipc_syscalls_40.c?

christos




Home | Main Index | Thread Index | Old Index