Date: Tue, 27 Nov 2001 11:58:09 -0800 (PST) From: Dima Dorfman <dd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_icmp.c Message-ID: <200111271958.fARJw9s89236@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dd 2001/11/27 11:58:09 PST
Modified files:
sys/netinet ip_icmp.c
Log:
In icmp_reflect(): If the packet was not addressed to us and was
received on an interface without an IP address, try to find a
non-loopback AF_INET address to use. If that fails, drop it.
Previously, we used the address at the top of the in_ifaddrhead list,
which didn't make much sense, and would cause a panic if there were no
AF_INET addresses configured on the system.
PR: 29337, 30524
Reviewed by: ru, jlemon
Obtained from: NetBSD
Revision Changes Path
1.63 +15 -2 src/sys/netinet/ip_icmp.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111271958.fARJw9s89236>
