Up to [cvs.NetBSD.org] / src / sys / netinet
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-1-5-BETA2
Revision 1.66.4.1 / (download) - annotate - [select for diffs], Fri Jul 28 16:58:10 2000 UTC (23 years, 8 months ago) by sommerfeld
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Changes since 1.66: +3 -3
lines
Diff to previous 1.66 (unified)
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