lkml.org 
[lkml]   [2021]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] bluetooth: fix memory leak in btusb_mtk_wmt_recv
From
Date
Hi Jupeng,

>>>> In btusb_mtk_wmt_recv if skb_clone fails, the alocated skb should
>>>> be released.
>>>>
>>>> Signed-off-by: zhongjupeng <zhongjupeng@yulong.com>
>>>
>>> please provide a proper From: and Signed-off-by line with full name.
>>>
>>> Regards
>>>
>>> Marcel
>>
>> Hi,
>>
>>
>> Update the patch From: and Signed-off-by: as follows:
>>
>> Jupeng Zhong <zhongjupeng@yulong.com>
>
>
> Hi,
>
> Thanks to Markus Elfring for the suggestion:
>
> 1. add the tag “Fixes”.
> 2. omit the labels “err_out” and “err_free_skb” in this function
> implementation.
>
> The patch has been updated, please check.
>
> Thanks.
> <0001-Bluetooth-btusb-Fix-memory-leak-in-btusb_mtk_wmt_rec.patch>

please send patch inline via git-send-email or similar so that they are easy to review.

Regards

Marcel


\
 
 \ /
  Last update: 2021-02-01 11:46    [W:0.160 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site