[B.A.T.M.A.N.] [PATCH] batman-adv: move hardif refcount inc to batadv_neigh_node_new()

Simon Wunderlich sw at simonwunderlich.de
Mon Aug 3 20:01:30 CEST 2015


On Sunday 26 July 2015 04:37:15 Marek Lindner wrote:
> The batadv_neigh_node cleanup function 'batadv_neigh_node_free_rcu()'
> takes care of reducing the hardif refcounter, hence it's only logical
> to assume the creating function of that same object
> 'batadv_neigh_node_new()' takes care of increasing the same refcounter.
> 
> Signed-off-by: Marek Lindner <mareklindner at neomailbox.ch>


Acked-by: Simon Wunderlich <sw at simonwunderlich.de>

Cheers,
   Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20150803/bd6a8f6b/attachment.sig>


More information about the B.A.T.M.A.N mailing list