summary refs log tree commit diff
path: root/block
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2011-04-27 00:22:00 +0200
committerSven Eckelmann <sven@narfation.org>2011-06-20 11:37:35 +0200
commit2265c141086474bbae55a5bb3afa1ebb78ccaa7c (patch)
treef932bcdfa2ff8a6a2b442252e7167b90363bfa4d /block
parentc6bda689c2c94788e1e567463ce861d1f135857f (diff)
downloadlinux-2265c141086474bbae55a5bb3afa1ebb78ccaa7c.tar.gz
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 <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions