Subject: CVS commit: src/sys/netinet
To: None <source-changes@NetBSD.org>
From: Jonathan Stone <jonathan@netbsd.org>
List: source-changes
Date: 09/19/2003 00:27:56
Module Name:	src
Committed By:	jonathan
Date:		Fri Sep 19 00:27:56 UTC 2003

Modified Files:
	src/sys/netinet: ip_output.c

Log Message:
Fast-ipsec can call ip_output() with a null 'struct socket *so'
argument.  So check so is non-NULL before doing the pointer-chasing
dance to find the PCB. (Unless and until we rework fast-ipsec and
KAME, to pass a struct in_pcbhdr * instead of the struct socket *).


To generate a diff of this commit:
cvs rdiff -r1.120 -r1.121 src/sys/netinet/ip_output.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.