diff options
| author | 2026-08-20 20:57:18 +0800 | |
|---|---|---|
| committer | 2026-09-27 22:31:36 +0200 | |
| commit | 409df11c5674e1e6c8a79e8d008f007ad6f9b448 (patch) | |
| tree | 21523589241c27b89d29da815e3946607e868923 /scripts/Makefile.thinlto | |
| parent | netfilter: synproxy: fix reset of ct seqadj when reopening a connection (diff) | |
netfilter: conntrack: fix nf_conntrack_expect_max default value in documentation
The documentation for nf_conntrack_expect_max incorrectly states that the
default value is nf_conntrack_buckets / 256. However, the code in
nf_conntrack_expect_init() shows:
nf_ct_expect_hsize = nf_conntrack_htable_size / 256;
nf_ct_expect_max = nf_ct_expect_hsize * 4;
This means the default value is actually nf_conntrack_buckets / 64
(i.e. 4 times the hash table size, which defaults to
nf_conntrack_buckets / 256).
Fix the documentation to reflect the correct default value and add
explanation of the calculation.
Signed-off-by: Shaojie Sun <sunshaojie@kylinos.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
