Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2006 19:24:07 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net route.c
Message-ID:  <20060504191933.P54242@maildrop.int.zabbadoz.net>
In-Reply-To: <200605041833.k44IXbSW020147@repoman.freebsd.org>
References:  <200605041833.k44IXbSW020147@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 May 2006, Bjoern A. Zeeb wrote:

> bz          2006-05-04 18:33:37 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/net              route.c
>  Log:
>  In rtrequest and rtinit check for sa_len != 0 for the given
>  destination. These checks are needed so we do not install

In addition to broken userland applications
this will also affect in-kernel route setup and I expect one or the
other to turn up being broken (there is a lot of rtr code in
netinet6/* for nd for example).
So in case you'll have problems setting up routes check that the
caller correctly fills in all fields.

gnn also suggested that we should catch those cases early in ioctl
paths...

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT



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