svn commit: r264222 - stable/9/sys/netinet

Andrey V. Elsukov ae at FreeBSD.org
Mon Apr 7 12:50:35 UTC 2014


Author: ae
Date: Mon Apr  7 12:50:34 2014
New Revision: 264222
URL: http://svnweb.freebsd.org/changeset/base/264222

Log:
  MFC r263966:
    Don't copy the MF flag from original IP header to ICMP error message.
  
  PR:		188092
  Sponsored by:	Yandex LLC

Modified:
  stable/9/sys/netinet/ip_icmp.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/ip_icmp.c
==============================================================================
--- stable/9/sys/netinet/ip_icmp.c	Mon Apr  7 12:50:08 2014	(r264221)
+++ stable/9/sys/netinet/ip_icmp.c	Mon Apr  7 12:50:34 2014	(r264222)
@@ -343,6 +343,7 @@ stdreply:	icmpelen = max(8, min(V_icmp_q
 	nip->ip_hl = 5;
 	nip->ip_p = IPPROTO_ICMP;
 	nip->ip_tos = 0;
+	nip->ip_off = 0;
 	icmp_reflect(m);
 
 freeit:


More information about the svn-src-stable-9 mailing list