diff options
author | Yajun Deng <[email protected]> | 2021-08-03 15:37:39 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-08-03 14:23:22 -0700 |
commit | bebc3bbf5131b7f792b207e8fcac9a798bb23bbf (patch) | |
tree | cbdff8a5bf2c94c55f7492ec77a42bfe95dba932 /tools/testing/selftests/net/af_unix/test_unix_oob.c | |
parent | c8f6c77d06fe6147d07cb0e4952db008f72767cb (diff) |
net: decnet: Fix refcount warning for new dn_fib_info
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 <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/af_unix/test_unix_oob.c')
0 files changed, 0 insertions, 0 deletions