diff options
author | Antonio Quartulli <[email protected]> | 2011-11-07 16:36:40 +0100 |
---|---|---|
committer | Marek Lindner <[email protected]> | 2012-02-17 02:50:18 +0800 |
commit | 17071578888c7c18709e48e74fae228c04581b9a (patch) | |
tree | a2513bb57d5685db9cfeab65a3d9c645c0df5e7c /net/unix/af_unix.c | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) |
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 <[email protected]>
Signed-off-by: Antonio Quartulli <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Tested-by: Alexey Fisher <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions