svn commit: r264221 - stable/10/sys/netinet

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


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

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/10/sys/netinet/ip_icmp.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/ip_icmp.c
==============================================================================
--- stable/10/sys/netinet/ip_icmp.c	Mon Apr  7 07:06:13 2014	(r264220)
+++ stable/10/sys/netinet/ip_icmp.c	Mon Apr  7 12:50:08 2014	(r264221)
@@ -347,6 +347,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-all mailing list