Page MenuHomeFreeBSD

tcp: refactor debug function syncookie_cmp()
ClosedPublic

Authored by glebius on Jun 17 2025, 4:15 AM.
Tags
None
Referenced Files
F154924919: D50896.id157193.diff
Thu, Apr 30, 2:26 AM
Unknown Object (File)
Wed, Apr 29, 12:50 AM
Unknown Object (File)
Tue, Apr 28, 9:05 AM
Unknown Object (File)
Mon, Apr 20, 11:29 PM
Unknown Object (File)
Mon, Apr 20, 5:19 AM
Unknown Object (File)
Sat, Apr 18, 12:01 PM
Unknown Object (File)
Mar 22 2026, 6:52 AM
Unknown Object (File)
Mar 19 2026, 8:22 AM
Subscribers

Details

Summary
  • Don't bzero() the test structure. All fields checked are set by syncache_expand().
  • Don't allocate TCP address logging string if there is nothing to report.
  • Mark hash bucket argument as pointer to const.
  • Make it void.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable