Page MenuHomeFreeBSD

pf: remove unneeded double pointer to pf_scrub_ip(6)()
ClosedPublic

Authored by kp on Sep 7 2024, 9:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 7:20 AM
Unknown Object (File)
Thu, Oct 24, 3:31 PM
Unknown Object (File)
Sun, Oct 20, 10:26 AM
Unknown Object (File)
Thu, Oct 17, 5:11 AM
Unknown Object (File)
Thu, Oct 17, 3:26 AM
Unknown Object (File)
Tue, Oct 15, 8:33 AM
Unknown Object (File)
Tue, Oct 15, 8:32 AM
Unknown Object (File)
Sun, Oct 13, 9:26 PM

Details

Summary

pf_scrub_ip() does not modify the given mbuf pointer. So don't
pass a pointer to a pointer to make the code in pf_test() clearer.
ok henning@

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

Diff Detail

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