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")

Details

Provenance
mjgAuthored on Feb 25 2022, 4:18 PM
Parents
rG5e19a5185324: bhyve.8: Fix a typo
Branches
Unknown
Tags
Unknown