Page MenuHomeFreeBSD

tcp: refactor debug function syncookie_cmp()
ClosedPublic

Authored by glebius on Jun 17 2025, 4:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 26, 4:39 AM
Unknown Object (File)
Mon, Jun 8, 4:33 PM
Unknown Object (File)
May 31 2026, 7:40 PM
Unknown Object (File)
May 30 2026, 11:25 AM
Unknown Object (File)
May 18 2026, 2:30 AM
Unknown Object (File)
May 18 2026, 2:30 AM
Unknown Object (File)
May 18 2026, 2:24 AM
Unknown Object (File)
May 8 2026, 8:22 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 64929
Build 61812: arc lint + arc unit