HomeFreeBSD

MFC r332886:

Description

MFC r332886:

icmp6_reflect() sends ICMPv6 message with new IPv6 header. So, it is
considered as originated by our host packet. And thus rcvif should be
NULL, since it is used by ipfw(4) to determine that packet was originated
from this host. Some of icmp6_reflect() consumers reuse mbuf and m_pkthdr
without resetting rcvif pointer. To avoid this always reset m_pkthdr.rcvif
pointer to NULL in icmp6_reflect(). Also remove such line and comment
describing this from icmp6_error(), since it does not longer matters.

PR:		[[ https://bugs.freebsd.org/227674 | 227674 ]]

Details

Provenance
aeAuthored on
Parents
rS333205: MFC r332752: set kdb_why to "trap" when calling kdb_trap from trap_fatal
Branches
Unknown
Tags
Unknown