Module Name: src Committed By: bouyer Date: Sun Sep 12 21:19:07 UTC 2010
Modified Files: src/sys/dist/ipf/netinet [netbsd-4]: ip_fil_netbsd.c Log Message: Pull up following revision(s) (requested by mlelstv in ticket #1405): sys/dist/ipf/netinet/ip_fil_netbsd.c: revision 1.56 Fix mbuf corruption when sending ICMP errors for blocked IPv6 packets due to wrong buffer size computations. The corrupted mbufs could lead to a panic. Fix computation of link mtu where the link mtu itself is unspecified. Limit ICMP error packets for IPv6 to MMTU as required by RFC4443. This also avoids dropped errors when the length exceeds the link mtu. To generate a diff of this commit: cvs rdiff -u -r1.28.2.5 -r1.28.2.6 src/sys/dist/ipf/netinet/ip_fil_netbsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.