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
rG1c3068e458ce: snd_hda.4: correct typos
Branches
Unknown
Tags
Unknown