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)
Mon, May 18, 2:30 AM
Unknown Object (File)
Mon, May 18, 2:30 AM
Unknown Object (File)
Mon, May 18, 2:24 AM
Unknown Object (File)
Fri, May 8, 8:22 PM
Unknown Object (File)
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)
Apr 20 2026, 11:29 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 Not Applicable
Unit
Tests Not Applicable