diff options
| author | Sven Eckelmann <sven@narfation.org> | 2020-03-18 00:27:08 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-20 09:06:28 +0100 |
| commit | adaff59ee5f73bd9ee24c8155c7f8ca7f5f89fd1 (patch) | |
| tree | 2e1191d339c1714fdd5a8ad3d56ace301365815d /scripts | |
| parent | a91c6b957e464e9e1f3790c0bf62f9465efc18da (diff) | |
batman-adv: Free last_bonding_candidate on release of orig_node
commit cbef1e102003edb236c6b2319ab269ccef963731 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
