summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorAntonio Quartulli2014-02-15 02:17:20 +0100
committerAntonio Quartulli2014-02-17 17:17:02 +0100
commita5a5cb8cab526af2f6cbe9715f8ca843192f0d81 (patch)
tree8f456b9e7f4cfb8efde3af1ce47f96321cc17d94 /Kbuild
parentbatman-adv: free skb on TVLV parsing success (diff)
downloadkernel-qcow2-linux-a5a5cb8cab526af2f6cbe9715f8ca843192f0d81.tar.gz
kernel-qcow2-linux-a5a5cb8cab526af2f6cbe9715f8ca843192f0d81.tar.xz
kernel-qcow2-linux-a5a5cb8cab526af2f6cbe9715f8ca843192f0d81.zip
batman-adv: avoid double free when orig_node initialization fails
In the failure path of the orig_node initialization routine the orig_node->bat_iv.bcast_own field is free'd twice: first in batadv_iv_ogm_orig_get() and then later in batadv_orig_node_free_rcu(). Fix it by removing the kfree in batadv_iv_ogm_orig_get(). Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions