]> 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)
commitb0da1a2cd56ee5663db0a0785f12412b6c108a35
tree4ab894a1b36943b6b4ea83e715e68391f2484c16
parent4193559ca7beb2900da3e665a0e43136e64d18e2
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