batman-adv: fix neigh_ifinfo imbalance
authorSimon Wunderlich <simon@open-mesh.com>
Wed, 26 Mar 2014 14:46:21 +0000 (15:46 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 10 May 2014 08:58:42 +0000 (10:58 +0200)
commitc1e517fbbcdb13f50662af4edc11c3251fe44f86
tree999a0d5322859a7347ef473a66b5a901dae3b438
parent1448eb566970c6d3cade522419848fdaee24c684
batman-adv: fix neigh_ifinfo imbalance

The neigh_ifinfo object must be freed if it has been used in
batadv_iv_ogm_process_per_outif().

This is a regression introduced by
89652331c00f43574515059ecbf262d26d885717
("batman-adv: split tq information in neigh_node struct")

Reported-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/bat_iv_ogm.c