Subject: Re: CVS commit: src/sys/net
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: source-changes
Date: 06/01/2007 16:08:34
In article <20070601093547.9B4D921507@cvs.netbsd.org>,
enami tsugutomo <enami@netbsd.org> 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