Page MenuHomeFreeBSD

pf: remove redundant checks
ClosedPublic

Authored by kp on Sep 7 2024, 9:36 AM.
Tags
None
Referenced Files
F99562629: D46591.diff
Thu, Oct 10, 7:29 PM
F99467556: D46591.diff
Wed, Oct 9, 10:20 PM
Unknown Object (File)
Wed, Oct 9, 4:20 AM
Unknown Object (File)
Tue, Oct 8, 2:42 AM
Unknown Object (File)
Mon, Oct 7, 1:52 PM
Unknown Object (File)
Sat, Oct 5, 12:12 AM
Unknown Object (File)
Thu, Oct 3, 9:56 PM
Unknown Object (File)
Tue, Oct 1, 10:00 PM

Details

Summary

pf_test() and pf_test6() drop IPv4-ICMP6 and IPv6-ICMP packets. Do
not do the same check in pf_test_rule() again.
ok henning

Obtained from: OpenBSD, bluhm <bluhm@openbsd.org>, de5c2bfb74
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable