Re: [PATCH] net: convert fib_treeref from int to refcount_t

From: David Ahern
Date: Tue Aug 03 2021 - 10:44:08 EST


On 8/3/21 5:08 AM, Marek Szyprowski wrote:
> Hi
>
> On 29.07.2021 09:13, Yajun Deng wrote:
>> refcount_t type should be used instead of int when fib_treeref is used as
>> a reference counter,and avoid use-after-free risks.
>>
>> Signed-off-by: Yajun Deng <yajun.deng@xxxxxxxxx>
>
> This patch landed in linux-next 20210802 as commit 79976892f7ea ("net:
> convert fib_treeref from int to refcount_t"). It triggers the following
> warning on all my test systems (ARM32bit and ARM64bit based):
>

fixed in net-next.