]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: process broadcast packets in BLA earlier
authorAntonio Quartulli <ordex@autistici.org>
Thu, 8 Nov 2012 20:55:30 +0000 (21:55 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Fri, 16 Nov 2012 08:36:54 +0000 (09:36 +0100)
commitae70b4eda5f435698d8620a81df0d2326914666e
tree639e198c227c378e867bd73528e9aee3c41f5275
parent4836dade4401f8f7350cafb2b8eb57b57b652139
batman-adv: process broadcast packets in BLA earlier

The logic in the BLA mechanism may decide to drop broadcast packets
because the node may still be in the setup phase. For this reason,
further broadcast processing like the early client detection mechanism
must be done only after the BLA check.

This patches moves the invocation to BLA before any other broadcast
processing.

This was introduced 6e9d9d9e216d1b364697b0af4e2e5ddc85fea7fd
("batman-adv: detect not yet announced clients")

Reported-by: Glen Page <glen.page@thet.net>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/soft-interface.c