diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-05-06 11:43:39 +0200 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-05-18 11:49:40 +0800 |
commit | 71f9d27daa2cbcca7159c27f0c0c381cc2dd1053 (patch) | |
tree | 5feaba3744a53cfb781720c9438cb9f03faaa6f3 /net/batman-adv/bat_iv_ogm.c | |
parent | a45e932a3c58eac11a7458c6888910e23f615077 (diff) |
batman-adv: Fix refcnt leak in batadv_v_neigh_*
The functions batadv_neigh_ifinfo_get increase the reference counter of the
batadv_neigh_ifinfo. These have to be reduced again when the reference is
not used anymore to correctly free the objects.
Fixes: 9786906022eb ("batman-adv: B.A.T.M.A.N. V - implement neighbor comparison API calls")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat (limited to 'net/batman-adv/bat_iv_ogm.c')
0 files changed, 0 insertions, 0 deletions