]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Fix orig_node_vlan leak on orig_node_release
authorSven Eckelmann <sven@narfation.org>
Thu, 30 Jun 2016 18:10:46 +0000 (20:10 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 5 Jul 2016 10:43:10 +0000 (12:43 +0200)
commit220bf03a2574d9b70c075163f593c1c0cb664d9f
tree36deda9a7b286a773b9cca3314d533a36a9dbe9f
parentb01eebe83160140e514fb961020edc7988ebc562
batman-adv: Fix orig_node_vlan leak on orig_node_release

batadv_orig_node_new uses batadv_orig_node_vlan_new to allocate a new
batadv_orig_node_vlan and add it to batadv_orig_node::vlan_list. References
to this list have also to be cleaned when the batadv_orig_node is removed.

Fixes: 7cf8c00d89df ("batman-adv: make the TT CRC logic VLAN specific")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/originator.c