cvs commit: src/sys/net route.c

Bjoern A. Zeeb bz at
Thu May 4 19:25:14 UTC 2006

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

Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

More information about the cvs-src mailing list