batman-adv: Add reference counting + nullptr fixes 205/head
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Tue, 5 Jul 2016 10:03:44 +0000 (12:03 +0200)
committerSven Eckelmann <sven.eckelmann@open-mesh.com>
Tue, 5 Jul 2016 10:12:07 +0000 (12:12 +0200)
commitaf8eeab86fc071b932a113cf21eabb2da8561d22
tree45f4f37174c93705dfe2c7ea8708eab1ff7ba3fa
parent85e771d2f1ca1981983238073ffc602981acbb40
batman-adv: Add reference counting + nullptr fixes

 * Avoid nullptr dereference in bla after vlan_insert_tag
 * Avoid nullptr dereference in dat after vlan_insert_tag
 * Avoid tt_req_node list put for unhashed entry
 * Fix orig_node_vlan leak on orig_node_release
 * Fix non-atomic bla_claim::backbone_gw access
 * Fix reference leak in batadv_find_router
 * Free last_bonding_candidate on release of orig_node

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
batman-adv/patches/0001-batman-adv-Avoid-nullptr-dereference-in-bla-after-vl.patch [new file with mode: 0644]
batman-adv/patches/0002-batman-adv-Avoid-nullptr-dereference-in-dat-after-vl.patch [new file with mode: 0644]
batman-adv/patches/0003-batman-adv-Avoid-tt_req_node-list-put-for-unhashed-e.patch [new file with mode: 0644]
batman-adv/patches/0004-batman-adv-Fix-orig_node_vlan-leak-on-orig_node_rele.patch [new file with mode: 0644]
batman-adv/patches/0005-batman-adv-Fix-non-atomic-bla_claim-backbone_gw-acce.patch [new file with mode: 0644]
batman-adv/patches/0006-batman-adv-Fix-reference-leak-in-batadv_find_router.patch [new file with mode: 0644]
batman-adv/patches/0007-batman-adv-Free-last_bonding_candidate-on-release-of.patch [new file with mode: 0644]