Skip to content

net: qualcomm: rmnet: fix TX aggregation bugs

Antonio Quartulli netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v16 patches 1 replySuperseded

Changes in v2 from the cover letter

- drop patches 4-6, already fixed in net-next by 0af0e210b5bd and 4f89bcfa1e16
- rebase on and retarget to net-next like the related fixes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: qualcomm: rmnet: recheck the aggregate after flushing itdrivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c+1 -10 replies
2/3net: qualcomm: rmnet: always arm the flush timer for a new aggregatedrivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c+3 -30 replies
3/3net: qualcomm: rmnet: fix TX aggregation timeout overflow on 32-bitdrivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/3] net: qualcomm: rmnet: fix TX aggregation bugs

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.

Patches 1 and 2 build on 7bcccc40cdb5 ("net: qualcomm: rmnet: bound TX aggregates on byte-limit update"), which touches the same lines.

Changes in v2:
- drop patches 4-6, already fixed in net-next by 0af0e210b5bd and 4f89bcfa1e16
- rebase on and retarget to net-next like the related fixes

v1: https://lore.kernel.org/netdev/[email protected]/

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

 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

base-commit: ccb81d5e317b0ae2cc66ca1c628c0ca907928f94

Signature · 1 line
2.56.1