diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-06-30 22:41:13 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-07-05 13:43:58 +0300 |
commit | cbef1e102003edb236c6b2319ab269ccef963731 (patch) | |
tree | 3798c81d921c6ece854adb72e3a895aa70035cb8 /net/batman-adv/hash.c | |
parent | 15c2ed753cd9e3e746472deab8151337a5b6da56 (diff) | |
download | linux-cbef1e102003edb236c6b2319ab269ccef963731.tar.xz |
batman-adv: Free last_bonding_candidate on release of orig_node
The orig_ifinfo reference counter for last_bonding_candidate in
batadv_orig_node has to be reduced when an originator node is released.
Otherwise the orig_ifinfo is leaked and the reference counter the netdevice
is not reduced correctly.
Fixes: f3b3d9018975 ("batman-adv: add bonding again")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/hash.c')
0 files changed, 0 insertions, 0 deletions