Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 13:00:49 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263966 - head/sys/netinet
Message-ID:  <201403311300.s2VD0nVU083627@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403311300.s2VD0nVU083627>