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)
Mon, Oct 7, 1:51 PM
Unknown Object (File)
Thu, Oct 3, 9:13 PM
Unknown Object (File)
Thu, Oct 3, 10:44 AM
Unknown Object (File)
Sun, Sep 29, 11:51 AM
Unknown Object (File)
Sat, Sep 28, 7:44 PM
Unknown Object (File)
Sat, Sep 28, 7:43 PM
Unknown Object (File)
Thu, Sep 26, 7:32 AM
Unknown Object (File)
Wed, Sep 25, 6:45 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