svn commit: r263966 - head/sys/netinet

Andrey V. Elsukov ae at FreeBSD.org
Mon Mar 31 13:00:50 UTC 2014


Author: ae
Date: Mon Mar 31 13:00:49 2014
New Revision: 263966
URL: http://svnweb.freebsd.org/changeset/base/263966

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

Modified:
  head/sys/netinet/ip_icmp.c

Modified: head/sys/netinet/ip_icmp.c
==============================================================================
--- head/sys/netinet/ip_icmp.c	Mon Mar 31 09:37:11 2014	(r263965)
+++ head/sys/netinet/ip_icmp.c	Mon Mar 31 13:00:49 2014	(r263966)
@@ -348,6 +348,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-head mailing list