From owner-cvs-all@FreeBSD.ORG Fri Oct 6 20:26:07 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 316BC16A580; Fri, 6 Oct 2006 20:26:07 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA87943D5A; Fri, 6 Oct 2006 20:26:06 +0000 (GMT) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k96KQ6ff094932; Fri, 6 Oct 2006 20:26:06 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k96KQ6al094931; Fri, 6 Oct 2006 20:26:06 GMT (envelope-from andre) Message-Id: <200610062026.k96KQ6al094931@repoman.freebsd.org> From: Andre Oppermann Date: Fri, 6 Oct 2006 20:26:06 +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/sys/net if.c if_var.h src/sys/netinet ip_output.c raw_ip.c udp_usrreq.c 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: Fri, 06 Oct 2006 20:26:07 -0000 andre 2006-10-06 20:26:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net if.c if_var.h sys/netinet ip_output.c raw_ip.c udp_usrreq.c Log: MFC: - Fix the socket option IP_ONESBCAST by giving it its own case in ip_output() and skip over the normal IP processing. - Add a supporting function ifa_ifwithbroadaddr() to verify and validate the supplied subnet broadcast address. - Check inp_flags instead of inp_vflag for INP_ONESBCAST flag. PR: kern/99558 Approved by: re (kensmith) Revision Changes Path 1.234.2.17 +27 -0 src/sys/net/if.c 1.98.2.6 +1 -0 src/sys/net/if_var.h 1.242.2.15 +11 -2 src/sys/netinet/ip_output.c 1.150.2.5 +1 -1 src/sys/netinet/raw_ip.c 1.175.2.8 +2 -2 src/sys/netinet/udp_usrreq.c