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
F106580392: D46593.diff
Thu, Jan 2, 4:33 AM
Unknown Object (File)
Nov 25 2024, 12:26 PM
Unknown Object (File)
Nov 22 2024, 10:50 PM
Unknown Object (File)
Nov 20 2024, 12:00 PM
Unknown Object (File)
Nov 18 2024, 12:59 PM
Unknown Object (File)
Nov 18 2024, 12:58 PM
Unknown Object (File)
Nov 12 2024, 1:12 AM
Unknown Object (File)
Nov 6 2024, 7:20 AM

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