Thread (10 messages) flat view 10 messages, 5 authors, 2021-08-03

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

From: David Ahern <hidden>
Date: 2021-08-03 14:44:09
Also in: lkml

On 8/3/21 5:08 AM, Marek Szyprowski wrote:
Hi

On 29.07.2021 09:13, Yajun Deng wrote:
quoted
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 <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help