Date: Sat, 10 May 2008 18:30:04 GMT From: Antoine Brodin <antoine@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/123568: loopback interface error (don`t ask) Message-ID: <200805101830.m4AIU40f011121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/123568; it has been noted by GNATS. From: Antoine Brodin <antoine@FreeBSD.org> To: bug-followup@FreeBSD.org, samflanker@gmail.com Cc: Subject: Re: kern/123568: loopback interface error (don`t ask) Date: Sat, 10 May 2008 19:57:38 +0200 This is a multi-part message in MIME format. --Multipart=_Sat__10_May_2008_19_57_38_+0200_Dn4qh2DByOhJ+Ial Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Could you try the attached patch? Cheers, Antoine --Multipart=_Sat__10_May_2008_19_57_38_+0200_Dn4qh2DByOhJ+Ial Content-Type: text/x-diff; name="loopback-ping.diff" Content-Disposition: attachment; filename="loopback-ping.diff" Content-Transfer-Encoding: 7bit Index: sys/netinet/ip_icmp.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/ip_icmp.c,v retrieving revision 1.123 diff -u -p -r1.123 ip_icmp.c --- sys/netinet/ip_icmp.c 9 May 2008 23:02:57 -0000 1.123 +++ sys/netinet/ip_icmp.c 10 May 2008 17:51:27 -0000 @@ -631,7 +631,6 @@ icmp_reflect(struct mbuf *m) if (IN_MULTICAST(ntohl(ip->ip_src.s_addr)) || IN_EXPERIMENTAL(ntohl(ip->ip_src.s_addr)) || - IN_LOOPBACK(ntohl(ip->ip_src.s_addr)) || IN_ZERONET(ntohl(ip->ip_src.s_addr)) ) { m_freem(m); /* Bad return address */ icmpstat.icps_badaddr++; --Multipart=_Sat__10_May_2008_19_57_38_+0200_Dn4qh2DByOhJ+Ial--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805101830.m4AIU40f011121>