From owner-cvs-all@FreeBSD.ORG Tue May 22 22:07:50 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2253516A41F; Tue, 22 May 2007 22:07:50 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 14C0313C45E; Tue, 22 May 2007 22:07:50 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4MM7nIN044471; Tue, 22 May 2007 22:07:49 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4MM7npC044470; Tue, 22 May 2007 22:07:49 GMT (envelope-from mtm) Message-Id: <200705222207.l4MM7npC044470@repoman.freebsd.org> From: Mike Makonnen Date: Tue, 22 May 2007 22:07:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libc/net rthdr.c src/sys/sys socket.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 22:07:50 -0000 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