Re: [PATCH wireless-drivers] mt76: dma: fix a possible memory leak in mt76_add_fragment()
From: Felix Fietkau <nbd@nbd.name>
Date: 2021-01-27 06:20:58
From: Felix Fietkau <nbd@nbd.name>
Date: 2021-01-27 06:20:58
On 2021-01-26 12:02, Lorenzo Bianconi 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> Thanks, - Felix