Page MenuHomeFreeBSD

tcp: refactor debug function syncookie_cmp()
ClosedPublic

Authored by glebius on Jun 17 2025, 4:15 AM.
Tags
None
Referenced Files
F170992828: D50896.diff
Tue, Sep 8, 1:45 AM
Unknown Object (File)
Sat, Sep 5, 11:21 PM
Unknown Object (File)
Sat, Sep 5, 9:02 PM
Unknown Object (File)
Sat, Sep 5, 3:52 PM
Unknown Object (File)
Sat, Sep 5, 10:50 AM
Unknown Object (File)
Thu, Sep 3, 10:09 AM
Unknown Object (File)
Thu, Sep 3, 5:31 AM
Unknown Object (File)
Wed, Sep 2, 6:21 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