]> 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)
commit2cd7155acba0e290adaab730d26db536e23cdf44
tree639e198c227c378e867bd73528e9aee3c41f5275
parent5cdb6fa4395a4ce3fa8e98a639b44a89017dc0f6
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 a2d1af4d55bf5051dba48e44e4ba4514fe09bc91
("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