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)
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
Unknown Object (File)
Wed, Sep 16, 3:18 AM
Unknown Object (File)
Mon, Sep 14, 11:46 AM
Unknown Object (File)
Thu, Sep 10, 8:28 PM
Unknown Object (File)
Tue, Sep 8, 1:45 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