Netfilter-Devel Archive mirror
 help / color / mirror / Atom feed
From: Sriram Rajagopalan <bglsriram@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH] nftables: Fixed the issue with merging the payload in case of invert filter for tcp src and dst ports
Date: Wed, 13 Mar 2024 14:20:23 +0530	[thread overview]
Message-ID: <CAPtndGAHG-xKJrU3+9hYtcmbBizK4p_4w1kn_eTN0F8B6KB8kw@mail.gmail.com> (raw)

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

             reply	other threads:[~2024-03-13  8:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-13  8:50 Sriram Rajagopalan [this message]
2024-03-13  9:13 ` [PATCH] nftables: Fixed the issue with merging the payload in case of invert filter for tcp src and dst ports Florian Westphal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPtndGAHG-xKJrU3+9hYtcmbBizK4p_4w1kn_eTN0F8B6KB8kw@mail.gmail.com \
    --to=bglsriram@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).