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

Re: [PATCH net-next] net: decnet: Fix refcount warning for new dn_fib_info

From: David Ahern <hidden>
Date: 2021-08-03 14:43:49

On 8/3/21 1:37 AM, Yajun Deng wrote:
fib_treeref needs to be set after kzalloc. The old code had a ++ which
led to the confusion when the int was replaced by a refcount_t.

Fixes: 79976892f7ea ("net: convert fib_treeref from int to refcount_t")
Signed-off-by: Yajun Deng <redacted>
---
 net/decnet/dn_fib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: David Ahern <dsahern@kernel.org>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help