Page MenuHomeFreeBSD

tcp: rename syncookie_lookup() into syncookie_expand() and make it bool
ClosedPublic

Authored by glebius on Jun 17 2025, 4:15 AM.
Tags
None
Referenced Files
F163618847: D50895.id157157.diff
Fri, Jul 24, 10:06 PM
Unknown Object (File)
Thu, Jul 23, 1:48 AM
Unknown Object (File)
Tue, Jul 21, 4:58 PM
Unknown Object (File)
Mon, Jul 20, 9:03 AM
Unknown Object (File)
Mon, Jul 20, 2:03 AM
Unknown Object (File)
Sat, Jul 4, 5:45 PM
Unknown Object (File)
Thu, Jul 2, 1:57 AM
Unknown Object (File)
Sat, Jun 27, 12:19 PM
Subscribers

Details

Summary

This function always returns the same pointer it was passed. With new
name and return type the code is easier to understand. Mark the hash
bucket argument as pointer to const, since function doesn't modify it,
just uses value as integer. No functional changes.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable