batman-adv: Fix potential broadcast BLA-duplicate-check race condition
authorLinus Lüssing <linus.luessing@web.de>
Wed, 17 Oct 2012 12:53:05 +0000 (14:53 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Thu, 18 Oct 2012 16:17:31 +0000 (18:17 +0200)
Threads in the bottom half of batadv_bla_check_bcast_duplist() might
otherwise for instance overwrite variables which other threads might
be using/reading at the same time in the top half, potentially
leading to messing up the bcast_duplist, possibly resulting in false
bridge loop avoidance duplicate check decisions.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

No differences found