Page MenuHomeFreeBSD

pf: remove redundant checks
ClosedPublic

Authored by kp on Sep 7 2024, 9:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 6:23 PM
Unknown Object (File)
Mon, Oct 28, 11:06 AM
Unknown Object (File)
Sat, Oct 26, 10:28 AM
Unknown Object (File)
Mon, Oct 21, 4:08 PM
Unknown Object (File)
Wed, Oct 16, 6:53 PM
Unknown Object (File)
Tue, Oct 15, 8:00 AM
Unknown Object (File)
Mon, Oct 14, 12:29 AM
Unknown Object (File)
Sun, Oct 13, 6:56 AM

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