Re: [PATCH wireless-drivers] mt76: dma: fix a possible memory leak in mt76_add_fragment()
From: Kalle Valo <hidden>
Date: 2021-01-28 07:34:49
From: Kalle Valo <hidden>
Date: 2021-01-28 07:34:49
Lorenzo Bianconi [off-list ref] wrote:
Fix a memory leak in mt76_add_fragment routine returning the buffer
to the page_frag_cache when we receive a new fragment and the
skb_shared_info frag array is full.
Fixes: b102f0c522cf6 ("mt76: fix array overflow on receiving too many fragments for a packet")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Acked-by: Felix Fietkau <nbd@nbd.name>Patch applied to wireless-drivers.git, thanks. 93a1d4791c10 mt76: dma: fix a possible memory leak in mt76_add_fragment() -- https://patchwork.kernel.org/project/linux-wireless/patch/4f9dd73407da88b2a552517ce8db242d86bf4d5c.1611616130.git.lorenzo@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches