]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Do not short-circuit processing for REPLY_TO
authorKristof Provost <kp@FreeBSD.org>
Wed, 7 Apr 2021 13:46:44 +0000 (15:46 +0200)
committerKristof Provost <kp@FreeBSD.org>
Wed, 7 Apr 2021 15:03:17 +0000 (17:03 +0200)
commit6d786845cf63c8bf57174e3e43b0b5c5eca75be3
treea00a014d7f92d7e7a2eeea66896dbd3f3f23fdc2
parentab8d25880ebc9ddca1ae6af938680036349edf3f
pf: Do not short-circuit processing for REPLY_TO

When we find a state for packets that was created by a reply-to rule we
still need to process the packet. The state may require us to modify the
packet (e.g. in rdr or nat cases), which we won't do with the shortcut.

MFC after: 2 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
sys/netpfil/pf/pf.c