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, Jun 8, 4:33 PM
Unknown Object (File)
Sun, May 31, 7:40 PM
Unknown Object (File)
Sat, May 30, 11:25 AM
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)
May 8 2026, 8:22 PM
Unknown Object (File)
Apr 30 2026, 2:26 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