Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 May 2018 08:16:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        ipfw@FreeBSD.org
Subject:   [Bug 227674] [ipfw] [ipv6] ICMPv6 echo replies incorrectly matched by kernel ipfw
Message-ID:  <bug-227674-8303-rGxkXYOLSg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227674-8303@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227674-8303@https.bugs.freebsd.org/bugzilla/>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227674

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: ae
Date: Thu May  3 08:15:32 UTC 2018
New revision: 333206
URL: https://svnweb.freebsd.org/changeset/base/333206

Log:
  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 originat=
ed
    from this host. Some of icmp6_reflect() consumers reuse mbuf and m_pkth=
dr
    without resetting rcvif pointer. To avoid this always reset m_pkthdr.rc=
vif
    pointer to NULL in icmp6_reflect(). Also remove such line and comment
    describing this from icmp6_error(), since it does not longer matters.

    PR:         227674

Changes:
_U  stable/11/
  stable/11/sys/netinet6/icmp6.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?bug-227674-8303-rGxkXYOLSg>