summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@open-mesh.com>2014-05-02 01:35:13 +0200
committerJiri Slaby <jslaby@suse.cz>2014-05-29 11:49:32 +0200
commitfa59cdc603bfe56ab060084edbf3cab30f1ef7a7 (patch)
treec8d609e648eb3c73ca81a6f05ea392eee8aeac92 /Documentation
parent2413d40d59007671d3cd3121e3b0248260e34f3e (diff)
downloadlinux-rt-fa59cdc603bfe56ab060084edbf3cab30f1ef7a7.tar.gz
batman-adv: increase orig refcount when storing ref in gw_node
[ Upstream commit 377fe0f968b30a1a714fab53a908061914f30e26 ] A pointer to the orig_node representing a bat-gateway is stored in the gw_node->orig_node member, but the refcount for such orig_node is never increased. This leads to memory faults when gw_node->orig_node is accessed and the originator has already been freed. Fix this by increasing the refcount on gw_node creation and decreasing it on gw_node free. Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions