HomeFreeBSD

pf: remove spurious zeroing from pf_ioctl_addrule

Description

pf: remove spurious zeroing from pf_ioctl_addrule

Newly allocated counters are guaranteed to be 0.

This removes 5 IPIs for each loaded rule.

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 15ada7514954150e6c07fd6a31ceb686ece76943)

Details

Provenance
mjgAuthored on Feb 25 2022, 4:18 PM
Parents
rG453b4f81939b: u3g: Add support Quectel EM12-G modem.
Branches
Unknown
Tags
Unknown