HomeFreeBSD

icmp: allow zero value for ICMP limits

Description

icmp: allow zero value for ICMP limits

Zero means limit is disabled, so the value doesn't need to be checked
against jitter value.

Fixes: ac44739fd834f51cacb26485a4140fd482e20150
Fixes: a03aff88a14448c3084a0384082ec996d7213897
Approved by: re (cperciva)

(cherry picked from commit 4399e055ea610cdefa1470ad1ee614dd81ba5e56)
(cherry picked from commit 0b29ef1e3fd57940704dd40a834f98649adbe46e)

Details

Provenance
glebiusAuthored on Mar 25 2024, 2:52 AM
tuexenCommitted on Thu, Feb 13, 2:02 PM
Parents
rGebda0be762bf: icmp6: bring rate limiting on a par with IPv4
Branches
Unknown
Tags
Unknown