batman-adv: keep local table consistency for further TT_RESPONSE
To keep transtable consistency among all the nodes, an originator must not send not yet announced clients within a full table TT_RESPONSE. Instead, deleted client have to be kept in the table in order to be sent within an immediate TT_RESPONSE. In this way all the nodes in the network will always provide the same response for the same request. All the modification are committed at the next ttvn increment event. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
This commit is contained in:
committed by
Marek Lindner
parent
c8c991bf20
commit
058d0e2698
@@ -61,5 +61,6 @@ void handle_tt_response(struct bat_priv *bat_priv,
|
||||
struct tt_query_packet *tt_response);
|
||||
void send_roam_adv(struct bat_priv *bat_priv, uint8_t *client,
|
||||
struct orig_node *orig_node);
|
||||
void tt_commit_changes(struct bat_priv *bat_priv);
|
||||
|
||||
#endif /* _NET_BATMAN_ADV_TRANSLATION_TABLE_H_ */
|
||||
|
||||
Reference in New Issue
Block a user