Page MenuHomeFreeBSD

tcp: fix leaks in tcp_chg_pacing_rate error paths
ClosedPublic

Authored by gallatin on Jan 27 2022, 1:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 28 2024, 7:53 AM
Unknown Object (File)
Sep 26 2024, 11:40 PM
Unknown Object (File)
Sep 26 2024, 1:00 PM
Unknown Object (File)
Sep 21 2024, 3:28 PM
Unknown Object (File)
Sep 19 2024, 7:19 AM
Unknown Object (File)
Sep 8 2024, 7:03 AM
Unknown Object (File)
Sep 4 2024, 3:32 PM
Unknown Object (File)
Jul 8 2024, 11:57 PM

Details

Summary

tcp_chg_pacing_rate() is expected to release the hw rate limit table, but failed to do so in several error cases, leading to ever increasing counts of flows using the rate.

This patch was mostly done by @rrs

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped