Thread (17 messages) 17 messages, 4 authors, 6d ago

Re: [PATCH net 5/9] netfilter: nfnetlink_cthelper: cap to maximum number of expectation per master

From: Florian Westphal <fw@strlen.de>
Date: 2026-07-01 05:04:49
Also in: netfilter-devel

Florian Westphal [off-list ref] wrote:
From: Pablo Neira Ayuso <pablo@netfilter.org>

If userspace helper policy updates sets maximum number of expectation to
zero, cap it to NF_CT_EXPECT_MAX_CNT (255) on updates too.

Fixes: 397c8300972f ("netfilter: nf_conntrack_helper: cap maximum number of expectation at helper registration")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Pablo, can you please check

https://sashiko.dev/#/message/20260630045243.2657-6-fw%40strlen.de

?

AFAICS the comment is correct, but it should be handled in a
followup patch rather than a v2.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help