[Bug 273509] TCP(4): Can not change loader tunable net.inet.tcp.fastopen.ccache_bucket_limit via /boot/loader.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 02 Sep 2023 04:41:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273509

            Bug ID: 273509
           Summary: TCP(4): Can not change loader tunable
                    net.inet.tcp.fastopen.ccache_bucket_limit via
                    /boot/loader.conf
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: zlei@FreeBSD.org

Spot this while testing https://reviews.freebsd.org/D41525 .

As per the man page TCP(4):
>      fastopen.ccache_bucket_limit
>                            The maximum number of entries in a client cookie
>                            cache bucket.  The default value can be tuned with
>                            the TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT
>                            kernel option or by setting
>                            net.inet.tcp.fastopen_ccache_bucket_limit in the
>                            loader(8).

the `net.inet.tcp.fastopen.ccache_bucket_limit` should be able to tuned the
value.


Steps to repeat:

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

Expected value:
```
# sysctl net.inet.tcp.fastopen.ccache_bucket_limit
32
```

-- 
You are receiving this mail because:
You are the assignee for the bug.