* [PATCH nft] expression: update EXPR_MAX to EXPR_RANGE_SYMBOL
@ 2025-03-26 21:05 Pablo Neira Ayuso
0 siblings, 0 replies; only message in thread
From: Pablo Neira Ayuso @ 2025-03-26 21:05 UTC (permalink / raw)
To: netfilter-devel; +Cc: fw
EXPR_MAX was never updated to the newest expression.
Fixes: 347039f64509 ("src: add symbol range expression to further compact intervals")
Reported-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
This patch goes before this series:
src: remove flagcmp expression
src: transform flag match expression to binop expression from parser
optimize: compact bitmask matching in set/map
optimize: incorrect comparison for reject statement
include/expression.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/expression.h b/include/expression.h
index 8472748621ef..d3f2bab11957 100644
--- a/include/expression.h
+++ b/include/expression.h
@@ -85,7 +85,7 @@ enum expr_types {
EXPR_RANGE_VALUE,
EXPR_RANGE_SYMBOL,
- EXPR_MAX = EXPR_FLAGCMP
+ EXPR_MAX = EXPR_RANGE_SYMBOL
};
enum ops {
--
2.30.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-26 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-26 21:05 [PATCH nft] expression: update EXPR_MAX to EXPR_RANGE_SYMBOL Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).