Page MenuHomeFreeBSD

tcp: Initialize maximum number of entries in a client cookie cache bucket
ClosedPublic

Authored by zlei on Sep 2 2023, 6:36 AM.
Tags
None
Referenced Files
F144461395: D41691.id126809.diff
Sun, Feb 8, 1:44 PM
Unknown Object (File)
Sun, Feb 8, 2:45 AM
Unknown Object (File)
Sat, Feb 7, 6:32 PM
Unknown Object (File)
Fri, Feb 6, 6:37 PM
Unknown Object (File)
Fri, Jan 30, 9:49 PM
Unknown Object (File)
Wed, Jan 28, 12:22 AM
Unknown Object (File)
Sun, Jan 25, 4:08 PM
Unknown Object (File)
Sun, Jan 25, 6:23 AM

Details

Summary

This vnet loader tunable is defined with SYSCTL_PROC, thus will not
initialized by kernel on vnet creating and will always be the default
value TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT.

PR: 273509
Fixes: c560df6f12f1 This is an implementation of the client side of TCP Fast Open (TFO) [RFC7413]
MFC after: 3 days

Test Plan
# sysctl net.inet.tcp.fastopen.ccache_bucket_limit
16
# echo "net.inet.tcp.fastopen.ccache_bucket_limit=32" >> /boot/loader.conf
# reboot
....
# sysctl net.inet.tcp.fastopen.ccache_bucket_limit
32

Diff Detail

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

Event Timeline

zlei requested review of this revision.Sep 2 2023, 6:36 AM
This revision is now accepted and ready to land.Sep 2 2023, 7:54 AM