Page MenuHomeFreeBSD

tcp: refactor debug function syncookie_cmp()
ClosedPublic

Authored by glebius on Jun 17 2025, 4:15 AM.
Tags
None
Referenced Files
F169248738: D50896.id157193.diff
Tue, Sep 1, 1:33 AM
F169245537: D50896.id157158.diff
Tue, Sep 1, 1:20 AM
Unknown Object (File)
Sat, Aug 29, 11:35 AM
Unknown Object (File)
Tue, Aug 25, 2:22 AM
Unknown Object (File)
Mon, Aug 24, 7:30 PM
Unknown Object (File)
Sun, Aug 23, 10:00 PM
Unknown Object (File)
Sun, Aug 23, 10:00 PM
Unknown Object (File)
Fri, Aug 14, 7:37 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