Date: Tue, 22 May 2007 22:07:49 +0000 (UTC) From: Mike Makonnen <mtm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net rthdr.c src/sys/sys socket.h Message-ID: <200705222207.l4MM7npC044470@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mtm 2007-05-22 22:07:49 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
lib/libc/net rthdr.c
sys/sys socket.h
Log:
MFC:
sys/sys/socket.h ver. 1.93
lib/libc/net/rthdr.c ver. 1.9
----------------------------
date: 2007/04/19 15:48:16; author: mtm; state: Exp; lines: +4 -2
Make inet6_rth_* family of functions more compliant with RFC3542:
1. CMSG_NXTHDR(mhdr, cmsg) is supposed to dereference cmsg and return
the next header in the chain. If cmsg is NULL it should return
the first header, behaving essentially like CMSG_FIRSTHDR().
2. inet6_rth_(space|init|add) should do basic checking on their input
to verify that the number of headers (segments) is
between 0 and 127 inclusive.
Revision Changes Path
1.6.10.3 +9 -1 src/lib/libc/net/rthdr.c
1.88.2.2 +4 -2 src/sys/sys/socket.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705222207.l4MM7npC044470>
