From 41ea685c32611c80286a2fdd28b15b22de2170da Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Mon, 31 Mar 2014 13:00:49 +0000 Subject: [PATCH] Don't copy the MF flag from original IP header to ICMP error message. PR: 188092 MFC after: 1 week Sponsored by: Yandex LLC --- sys/netinet/ip_icmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c index aa7b262547d5..605060e68fae 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -348,6 +348,7 @@ stdreply: icmpelen = max(8, min(V_icmp_quotelen, ntohs(oip->ip_len) - oiphlen)); nip->ip_hl = 5; nip->ip_p = IPPROTO_ICMP; nip->ip_tos = 0; + nip->ip_off = 0; icmp_reflect(m); freeit: