From: Antonio Quartulli <antonio@mandelbit.com>
To: netdev@vger.kernel.org
Cc: "Subash Abhinov Kasiviswanathan"
<subash.a.kasiviswanathan@oss.qualcomm.com>,
"Sean Tranchetti" <sean.tranchetti@oss.qualcomm.com>,
"Andrew Lunn" <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@kernel.org>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Daniele Palmas" <dnlplm@gmail.com>,
"Koen Vandeputte" <koen.vandeputte@citymesh.com>,
"Jérémy Jean" <Jeremy.Jean@oss.cyber.gouv.fr>,
"Antonio Quartulli" <antonio@mandelbit.com>
Subject: [PATCH net-next v3 0/3] net: qualcomm: rmnet: fix TX aggregation bugs
Date: Mon, 30 Nov 2026 23:01:57 +0100 [thread overview]
Message-ID: <20261130220200.3378310-1-antonio@mandelbit.com> (raw)
Fixes for rmnet TX aggregation bugs still present in net-next. Each
commit message includes a reproducer; all three were reproduced in a VM
(KASAN, kmemleak, DEBUG_OBJECTS) before the fix and are gone after it.
Patch 2 needs a debug udelay() to widen the race window, patch 3 a
32-bit kernel. The bugs were found while reviewing [1] and reproduced
with AI assistance.
Patches 1 and 2 build on 7bcccc40cdb5 ("net: qualcomm: rmnet: bound TX
aggregates on byte-limit update"), which touches the same lines.
Changes in v3:
- patch 1: refresh the timestamps on retry and flush at most once per
skb (Sashiko)
Changes in v2:
- drop patches 4-6, already fixed in net-next by 0af0e210b5bd and
4f89bcfa1e16
- rebase on net-next, retarget to net-next like the related fixes
[1] https://lore.kernel.org/netdev/20261002143529.3217189-1-koen.vandeputte@citymesh.com/
v2: https://lore.kernel.org/netdev/20261127150827.785753-1-antonio@mandelbit.com/
v1: https://lore.kernel.org/netdev/20261126163219.1744750-1-antonio@mandelbit.com/
Antonio Quartulli (3):
net: qualcomm: rmnet: recheck the aggregate after flushing it
net: qualcomm: rmnet: always arm the flush timer for a new aggregate
net: qualcomm: rmnet: fix TX aggregation timeout overflow on 32-bit
.../ethernet/qualcomm/rmnet/rmnet_map_data.c | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
base-commit: 02e8a63b4685a4321c60d562edabecc097f4a0d9
--
2.56.1
next reply other threads:[~2026-11-30 22:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 22:01 Antonio Quartulli [this message]
2026-11-30 22:01 ` [PATCH net-next v3 1/3] net: qualcomm: rmnet: recheck the aggregate after flushing it Antonio Quartulli
2026-11-30 22:01 ` [PATCH net-next v3 2/3] net: qualcomm: rmnet: always arm the flush timer for a new aggregate Antonio Quartulli
2026-11-30 22:02 ` [PATCH net-next v3 3/3] net: qualcomm: rmnet: fix TX aggregation timeout overflow on 32-bit Antonio Quartulli
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=20261130220200.3378310-1-antonio@mandelbit.com \
--to=antonio@mandelbit.com \
--cc=Jeremy.Jean@oss.cyber.gouv.fr \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=dnlplm@gmail.com \
--cc=edumazet@kernel.org \
--cc=koen.vandeputte@citymesh.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sean.tranchetti@oss.qualcomm.com \
--cc=subash.a.kasiviswanathan@oss.qualcomm.com \
/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