[PATCH] nftables: Fixed the issue with merging the payload in case of invert filter for tcp src and dst ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sriram Rajagopalan <bglsriram@xxxxxxxxx>
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@xxxxxxxxxx>
---
 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




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux