* [PATCH] nftables: Fixed the issue with merging the payload in case of invert filter for tcp src and dst ports
@ 2024-03-13 8:50 Sriram Rajagopalan
2024-03-13 9:13 ` Florian Westphal
0 siblings, 1 reply; 2+ messages in thread
From: Sriram Rajagopalan @ 2024-03-13 8:50 UTC (permalink / raw)
To: netfilter-devel
From: Sriram Rajagopalan <bglsriram@gmail.com>
Date: Wed, 13 Mar 2024 01:32:42 -0700
Subject: [PATCH] nftables: Fixed the issue with merging the payload in case of
invert filter for tcp src and dst ports
Signed-off-by: Sriram Rajagopalan <sriramr@arista.com>
---
src/rule.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/rule.c b/src/rule.c
index 9e418d8c..45289cc0 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -2766,7 +2766,6 @@ static void stmt_reduce(const struct rule *rule)
switch (stmt->expr->op) {
case OP_EQ:
case OP_IMPLICIT:
- case OP_NEQ:
break;
default:
continue;
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nftables: Fixed the issue with merging the payload in case of invert filter for tcp src and dst ports
2024-03-13 8:50 [PATCH] nftables: Fixed the issue with merging the payload in case of invert filter for tcp src and dst ports Sriram Rajagopalan
@ 2024-03-13 9:13 ` Florian Westphal
0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2024-03-13 9:13 UTC (permalink / raw)
To: Sriram Rajagopalan; +Cc: netfilter-devel
Sriram Rajagopalan <bglsriram@gmail.com> wrote:
> From: Sriram Rajagopalan <bglsriram@gmail.com>
> Date: Wed, 13 Mar 2024 01:32:42 -0700
> Subject: [PATCH] nftables: Fixed the issue with merging the payload in case of
> invert filter for tcp src and dst ports
Applied with test cases.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-13 9:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-13 8:50 [PATCH] nftables: Fixed the issue with merging the payload in case of invert filter for tcp src and dst ports Sriram Rajagopalan
2024-03-13 9:13 ` Florian Westphal
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).