]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: broadcast primary OGM on all active hard-interfaces
authorMarek Lindner <lindner_marek@yahoo.de>
Sun, 26 Jun 2011 13:26:18 +0000 (15:26 +0200)
committerMarek Lindner <lindner_marek@yahoo.de>
Tue, 5 Jul 2011 12:28:54 +0000 (14:28 +0200)
commit4cefca701ca849e80b9f72ca3a1d6b2a0e5083ab
tree4ab894a1b36943b6b4ea83e715e68391f2484c16
parent46c212bafffe00a7a41342ea9d17be4ed1af419e
batman-adv: broadcast primary OGM on all active hard-interfaces

The primary interface OGM has to be broadcasted on all hard-interfaces
even if the primary interface is not the first interface (if_num = 0).
Therefore the code has to compare the originating interface with the
primary interface instead of checking the if_num.

Reported-by: Linus Luessing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/send.c