summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorShaojie Sun <sunshaojie@kylinos.cn>2026-08-20 20:57:18 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2026-09-27 22:31:36 +0200
commit409df11c5674e1e6c8a79e8d008f007ad6f9b448 (patch)
tree21523589241c27b89d29da815e3946607e868923 /tools/lib/python
parenta8708aa9fe1095ca7859cb3f102b6a3fa0fb98bd (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 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions