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/2026…@citymesh.com/
v2: https://lore.kernel.org/netdev/2026…@mandelbit.com/
v1: https://lore.kernel.org/netdev/2026…@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