summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2013-05-07 01:06:18 +0200
committerAntonio Quartulli <ordex@autistici.org>2013-05-09 12:39:45 +0200
commita4361860351e87876aebd9595906d928ce8572c6 (patch)
tree4a9e979287905c7c94d9229640870af0b8d853bc /arch/openrisc
parentbatman-adv: make DAT drop ARP requests targeting local clients (diff)
downloadlinux-a4361860351e87876aebd9595906d928ce8572c6.tar.xz
linux-a4361860351e87876aebd9595906d928ce8572c6.zip
batman-adv: reorder clean up routine in order to avoid race conditions
nc_worker accesses the originator table during its periodic work, but since the originator table is freed before stopping the worker this leads to a global protection fault. Fix this by killing the worker (in nc_free) before freeing the originator table. Moreover tidy up the entire clean up routine by running all the subcomponents freeing procedures first and then killing the TT and the originator tables at the end. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions