Skip to content

net: hix5hd2_gmac: fix memory corruption across interface reopen

David Yang netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: hix5hd2_gmac: unmap input TX buffers, not returned onesdrivers/net/ethernet/hisilicon/hix5hd2_gmac.c+1 -10 replies
2/3net: hix5hd2_gmac: release TX SG buffers if using SGdrivers/net/ethernet/hisilicon/hix5hd2_gmac.c+8 -30 replies
3/3net: hix5hd2_gmac: keep TX/RX queues alive across a closedrivers/net/ethernet/hisilicon/hix5hd2_gmac.c+9 -50 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net 0/3] net: hix5hd2_gmac: fix memory corruption across interface reopen

Found and verified on a Hi3716cv200 board, where received frames came up as slab garbage after reopening interface.

The SG path problem is discovered and fixed by LLM but not hardware verified - TX SG feature is only available on hisi-gmac-v2 while Hi3716cv200 has v1.

David Yang (3):
net: hix5hd2_gmac: unmap input TX buffers, not returned ones
net: hix5hd2_gmac: release TX SG buffers if using SG
net: hix5hd2_gmac: keep TX/RX queues alive across a close

 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c | 25 +++++++++++++------
 1 file changed, 17 insertions(+), 8 deletions(-)
Signature · 1 line
2.53.0