From: Antonio Quartulli Date: Tue, 26 Apr 2011 22:22:00 +0000 (+0200) Subject: batman-adv: gateway election code refactoring X-Git-Tag: v3.1-rc1~316^2~412^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2265c141086474bbae55a5bb3afa1ebb78ccaa7c;p=pandora-kernel.git batman-adv: gateway election code refactoring The gateway election mechanism has been a little revised. Now the gw_election is trigered by an atomic_t flag (gw_reselect) which is set to 1 in case of election needed, avoding to set curr_gw to NULL. Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner Signed-off-by: Sven Eckelmann --- Reading git-diff-tree failed