[PATCH 3.13 071/172] batman-adv: avoid double free when orig_node initialization fails

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Antonio Quartulli [ Upstream commit a5a5cb8cab526af2f6cbe9715f8ca843192f0d81 ] In the failure path of the orig_node initialization routine the orig_node->bat_iv.bcast_own field is free'd

[PATCH 3.13 071/172] batman-adv: avoid double free when orig_node initialization fails

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Antonio Quartulli anto...@meshcoding.com [ Upstream commit a5a5cb8cab526af2f6cbe9715f8ca843192f0d81 ] In the failure path of the orig_node initialization routine the orig_node-bat_iv.bcast_own