From: Antonio Ojea <aojea@google.com>
To: netfilter-devel@vger.kernel.org
Cc: pablo@netfilter.org, fw@strlen.de, Antonio Ojea <aojea@google.com>
Subject: [PATCH v2 0/2] netfilter: nfqueue: incorrect sctp checksum
Date: Mon, 13 May 2024 00:09:51 +0000 [thread overview]
Message-ID: <20240513000953.1458015-1-aojea@google.com> (raw)
Fixes the bug described in
https://bugzilla.netfilter.org/show_bug.cgi?id=1742
causing netfilter to drop SCTP packets when using
nfqueue and GSO due to incorrect checksum.
Patch 1 adds a new helper to process the sctp checksum
correctly.
Patch 2 adds a selftest regression test.
Antonio Ojea (2):
netfilter: nft_queue: compute SCTP checksum
selftests: net: netfilter: nft_queue.sh: sctp checksum
net/netfilter/nfnetlink_queue.c | 10 ++++-
.../selftests/net/netfilter/nft_queue.sh | 38 +++++++++++++++++++
2 files changed, 47 insertions(+), 1 deletion(-)
--
2.45.0.118.g7fe29c98d7-goog
next reply other threads:[~2024-05-13 0:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-13 0:09 Antonio Ojea [this message]
2024-05-13 0:09 ` [PATCH v2 1/2] netfilter: nft_queue: compute SCTP checksum Antonio Ojea
2024-05-13 21:14 ` Florian Westphal
2024-05-13 0:09 ` [PATCH v2 2/2] selftests: net: netfilter: nft_queue.sh: sctp checksum Antonio Ojea
2024-05-13 21:18 ` 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=20240513000953.1458015-1-aojea@google.com \
--to=aojea@google.com \
--cc=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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).