diff options
| author | Simon Wunderlich <[email protected]> | 2015-09-02 20:09:55 +0200 |
|---|---|---|
| committer | Antonio Quartulli <[email protected]> | 2015-12-07 21:58:14 +0800 |
| commit | a6cb390940b622eb0893519a54989222234f7c4b (patch) | |
| tree | f742ae50dd6a45b8ddf0ede8e48db1761e19ea18 /tools/perf/scripts/python | |
| parent | 437bb0e645d9286a97508d24dd9a4a7a7fa86b93 (diff) | |
batman-adv: avoid keeping false temporary entry
In the case when a temporary entry is added first and a proper tt entry
is added after that, the temporary tt entry is kept in the orig list.
However the temporary flag is removed at this point, and therefore the
purge function can not find this temporary entry anymore.
Therefore, remove the previous temp entry before adding the new proper
one.
This case can happen if a client behind a given originator moves before
the TT announcement is sent out. Other than that, this case can also be
created by bogus or malicious payload frames for VLANs which are not
existent on the sending originator.
Reported-by: Alessandro Bolletta <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Acked-by: Antonio Quartulli <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Signed-off-by: Antonio Quartulli <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions