Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Bill Sommerfeld <sommerfeld@netbsd.org>
List: source-changes
Date: 07/28/2000 19:58:11
Module Name:	syssrc
Committed By:	sommerfeld
Date:		Fri Jul 28 16:58:11 UTC 2000

Modified Files:
	syssrc/sys/netinet [netbsd-1-5]: ip_icmp.c udp_usrreq.c

Log Message:
Pull up UDP, ICMP fixes:

 - Drop packet, increment udps_badlen if the udp header length field
   reports a size smaller than the udp header; defends against bogus
   packets seen by by Assar Westerlund.

 - allow icmp_error() to work when icmpreturndatabytes is sufficiently
   large that the icmp error message doesn't fit in a header mbuf.

 - defend against mbuf chains shorter than their contained ip->ip_len.

Joint work of myself, itojun, and assar
Approved by thorpej

revisions pulled up:
	sys/netinet/ip_icmp.c		1.52
	sys/netinet/udp_usrreq.c	1.70


To generate a diff of this commit:
cvs rdiff -r1.47.2.1 -r1.47.2.2 syssrc/sys/netinet/ip_icmp.c
cvs rdiff -r1.66 -r1.66.4.1 syssrc/sys/netinet/udp_usrreq.c

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