summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorDavid Yang <mmyangfl@gmail.com>2026-10-26 02:20:18 +0800
committerJakub Kicinski <kuba@kernel.org>2026-10-27 15:58:49 -0700
commitd54b21d824302af52d06574870817fbe14774dab (patch)
tree8558f8341a0af448ff8de5a418b09c1979fccf0f /scripts/const_structs.checkpatch
parent947ccedf683ed6cc53c1f88ac9eb8747e4567ed6 (diff)
net: hisilicon: hisi_femac: Stop the receiver before releasing the RX ring
hisi_femac_net_close() frees the receive ring while the RX address queue still holds every address that was pushed to IQ_ADDR. A port that keeps receiving then DMAs arrived frames into buffers that other slab caches have already taken back; on an EC6108V9C (hi3798mv100) the queue still held all 52 armed addresses right after the interface was closed, and had dropped to 43 after 15 s of broadcast traffic. Reset the port before the buffers are released, so that the receiver no longer holds any of their addresses. Fixes: 542ae60af24f ("net: hisilicon: Add Fast Ethernet MAC driver") Cc: stable@vger.kernel.org Signed-off-by: David Yang <mmyangfl@gmail.com> Link: https://patch.msgid.link/20261025182022.2959333-1-mmyangfl@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions