HomeFreeBSD

LinuxKPI: add net_ratelimit()

Description

LinuxKPI: add net_ratelimit()

Add a net_ratelimit() compat implementation based on ppsratecheck().
Add a sysctl to allow tuning of the number of messages.

Sponsored by: The FreeBSD Foundation
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D29399

(cherry picked from commit bc042266b2bfc3f52f685df7ccdd6e857b4b9da9)

Details

Provenance
bzAuthored on Mar 23 2021, 5:00 PM
Reviewer
hselasky
Differential Revision
D29399: LinuxKPI: add net_ratelimit()
Parents
rGf81b4f3be750: qlnxr: remove duplicate defines
Branches
Unknown
Tags
Unknown