Commit 98cea7f5 authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by sanglipeng
Browse files

wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup

stable inclusion
from stable-v5.10.173
commit 46ce77b07cd83b12cbe6f1aa617cf4487b06317a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFR3

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=46ce77b07cd83b12cbe6f1aa617cf4487b06317a



--------------------------------

[ Upstream commit 1b88b47e ]

Free rx_head skb in mt76_dma_rx_cleanup routine in order to avoid
possible memory leak at module unload.

Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 6375a4e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment