On Fri, Oct 10, 2014 at 11:15:46PM +0200, Linus Lüssing wrote:
A miscounting of nodes having multicast optimizations enabled can lead to multicast packet loss in the following scenario:
If the first OGM a node receives from another one has no multicast optimizations support (no multicast tvlv) then we are missing to increase the counter. This potentially leads to the wrong assumption that we could safely use multicast optimizations.
Fixings this by increasing the counter if the initial OGM has the multicast TVLV unset, too.
Introduced by 77ec494490d60d89b42cd01d5dbf8dee04503623 ("batman-adv: Announce new capability via multicast TVLV")
Signed-off-by: Linus Lüssing linus.luessing@web.de
multicast.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Reported-by: Tobias Hachmer tobias@hachmer.de