]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mt76: mt7915: fix memory leak in mt7915_mcu_get_rx_rate()
authorShayne Chen <shayne.chen@mediatek.com>
Mon, 16 Nov 2020 11:45:54 +0000 (19:45 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 4 Dec 2020 13:31:16 +0000 (14:31 +0100)
commitd211c003389ade3f8e31d1217c38f056e033d841
tree7c3eecc8bf4a6b745b0de24989c9089dd6d1cbaa
parent0211c282bc8aaa15343aadbc6e23043e7057f77d
mt76: mt7915: fix memory leak in mt7915_mcu_get_rx_rate()

Free the skb to prevent memory leak.

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c