Re: [PATCH] batman-adv: Fix orig node refcnt leak when creating neigh node

2020-09-17 Thread Sven Eckelmann
On Friday, 18 September 2020 05:03:19 CEST Xiyu Yang wrote: > batadv_neigh_node_create() is used to create a neigh node object, whose > fields will be initialized with the specific object. When a new > reference of the specific object is created during the initialization, > its refcount should be i

[PATCH] batman-adv: Fix orig node refcnt leak when creating neigh node

2020-09-17 Thread Xiyu Yang
batadv_neigh_node_create() is used to create a neigh node object, whose fields will be initialized with the specific object. When a new reference of the specific object is created during the initialization, its refcount should be increased. However, when "neigh_node" object initializes its orig_no