HomeFreeBSD

ip_input: packet filters shall not modify m_pkthdr.rcvif

Description

ip_input: packet filters shall not modify m_pkthdr.rcvif

Quick review confirms that they do not, also IPv6 doesn't expect
such a change in mbuf. In IPv4 this appeared in 0aade26e6d061,
which doesn't seem to have a valid explanation why.

Reviewed by: donner, kp, melifaro
Differential revision: https://reviews.freebsd.org/D32913

Details

Provenance
glebiusAuthored on Nov 12 2021, 4:58 PM
Reviewer
donner
Differential Revision
D32913: ip_input: packet filters shall not modify m_pkthdr.rcvif
Parents
rG94df3271d6b2: Rename net.inet.ip.check_interface to rfc1122_strong_es and document it.
Branches
Unknown
Tags
Unknown