Home
last modified time | relevance | path

Searched hist:d8bf0c01642275c7dca1e5d02c34e4199c200b1f (Results 1 – 1 of 1) sorted by relevance

/linux/net/batman-adv/
H A Dbat_v_ogm.cdiff d8bf0c01642275c7dca1e5d02c34e4199c200b1f Thu Jul 23 14:28:08 CEST 2020 Linus Lüssing <linus.luessing@c0d3.blue> batman-adv: Fix own OGM check in aggregated OGMs

The own OGM check is currently misplaced and can lead to the following
issues:

For one thing we might receive an aggregated OGM from a neighbor node
which has our own OGM in the first place. We would then not only skip
our own OGM but erroneously also any other, following OGM in the
aggregate.

For another, we might receive an OGM aggregate which has our own OGM in
a place other then the first one. Then we would wrongly not skip this
OGM, leading to populating the orginator and gateway table with ourself.

Fixes: 9323158ef9f4 ("batman-adv: OGMv2 - implement originators logic")
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>