[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d68b1960-768a-e3f2-c401-bf8a1945d293@gmail.com>
Date: Thu, 26 May 2022 16:48:29 +0900
From: Taehee Yoo <ap420073@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, pabeni@...hat.com, edumazet@...gle.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net 0/3] amt: fix several bugs
On 5/26/22 13:47, Jakub Kicinski wrote:
Hi Jakub,
Thanks a lot for your review!
> On Mon, 23 May 2022 16:17:05 +0000 Taehee Yoo wrote:
>> This patchset fixes several bugs in amt module
>>
>> First patch fixes typo.
>>
>> Second patch fixes wrong return value of amt_update_handler().
>> A relay finds a tunnel if it receives an update message from the
gateway.
>> If it can't find a tunnel, amt_update_handler() should return an error,
>> not success. But it always returns success.
>>
>> Third patch fixes a possible memory leak in amt_rcv().
>> A skb would not be freed if an amt interface doesn't have a socket.
>
> Please double check you're not missing pskb_may_pull() calls.
> E.g. in amt_update_handler()? There's more.
As you pointed, I found that I missed pskb_may_pull() calls in
amt_multicast_data_handler() and amt_update_handler().
So, I will do some more checks and then send a patch.
Thank you so much!
Taehee Yoo
Powered by blists - more mailing lists