From: Antonio Quartulli Date: Mon, 7 Nov 2011 15:36:40 +0000 (+0100) Subject: batman-adv: add tt_initialised flag to the orig_node struct X-Git-Tag: v3.4-rc1~177^2~264^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17071578888c7c18709e48e74fae228c04581b9a;p=pandora-kernel.git batman-adv: add tt_initialised flag to the orig_node struct (ttvn == 0) is currently used as initial condition. However this is not a good idea because ttvn gets the vale zero each time after reaching the maximum value (wrap around). For this reason a new flag is added in order to define whether a node has an initialised table or not. Moreover, after invoking tt_global_del_orig(), tt_initialised has to be set to false Reported-by: Alexey Fisher Signed-off-by: Antonio Quartulli Signed-off-by: Simon Wunderlich Tested-by: Alexey Fisher Signed-off-by: Marek Lindner --- Reading git-diff-tree failed