Page MenuHomeFreeBSD

tcp: refactor debug function syncookie_cmp()
ClosedPublic

Authored by glebius on Jun 17 2025, 4:15 AM.
Tags
None
Referenced Files
F174986927: D50896.id157158.diff
Wed, Oct 7, 10:15 AM
F174944445: D50896.id157158.diff
Wed, Oct 7, 3:09 AM
Unknown Object (File)
Tue, Oct 6, 6:35 PM
Unknown Object (File)
Tue, Sep 29, 11:40 PM
Unknown Object (File)
Wed, Sep 23, 2:02 PM
Unknown Object (File)
Mon, Sep 21, 11:01 AM
Unknown Object (File)
Sun, Sep 20, 8:29 AM
Unknown Object (File)
Fri, Sep 18, 8:43 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 64929
Build 61812: arc lint + arc unit