From owner-cvs-sys Wed Mar 13 00:03:04 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA10762 for cvs-sys-outgoing; Wed, 13 Mar 1996 00:03:04 -0800 (PST) Received: (from pst@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA10719 Wed, 13 Mar 1996 00:02:47 -0800 (PST) Date: Wed, 13 Mar 1996 00:02:47 -0800 (PST) From: Paul Traina Message-Id: <199603130802.AAA10719@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip_output.c raw_ip.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/03/13 00:02:47 Modified: sys/netinet ip_output.c raw_ip.c Log: Fix ip option processing for raw IP sockets. This whole thing is a compromise between ignoring options specified in the setsockopt call if IP_HDRINCL is set (the UCB choice when VJ's code was brought in) vs allowing them (what everyone else did, and what is assumed by programs everywhere...sigh). Also perform some checking of the passed down packet to avoid running off the end of a mbuf chain. Reviewed by: fenner Revision Changes Path 1.32 +4 -1 src/sys/netinet/ip_output.c 1.29 +10 -4 src/sys/netinet/raw_ip.c