Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mt76: testmode: fix memory leak in mt76_testmode_alloc_skb
[ Upstream commit fe2c3b1 ] Free all pending frames in case of failure in mt76_testmode_alloc_skb routine Fixes: 2601dda ("mt76: testmode: add support to send larger packet") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information