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
MFC-after: 2 weeks
Reviewed-by: hselasky
Differential Revision: https://reviews.freebsd.org/D29399

Details

Provenance
bzAuthored on Mar 23 2021, 5:00 PM
Differential Revision
D29399: LinuxKPI: add net_ratelimit()
Parents
rGa9f0367b04b3: pci: enhance printf for leaked MSI[-X] vectors
Branches
Unknown
Tags
Unknown