Page MenuHomeFreeBSD

Improve locking in tcp_ratelimit.c
ClosedPublic

Authored by tuexen on Aug 26 2019, 1:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 6:10 PM
Unknown Object (File)
Oct 4 2024, 6:16 AM
Unknown Object (File)
Sep 26 2024, 4:19 AM
Unknown Object (File)
Sep 17 2024, 2:12 PM
Unknown Object (File)
Sep 17 2024, 11:40 AM
Unknown Object (File)
Sep 17 2024, 3:32 AM
Unknown Object (File)
Sep 14 2024, 9:48 PM
Unknown Object (File)
Sep 14 2024, 4:17 PM
Subscribers

Details

Summary

Don't hold the rs_mtx while calling malloc(). This avoids warnings when running the GENERIC debug kernel.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable