]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit74490f969155caf1ec945ad2d35d3a8eec6be71d
tree639e198c227c378e867bd73528e9aee3c41f5275
parent1f36aebcc5fa53c5d98f3329186466b5eb76a168
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 30cfd02b60e1cb16f5effb0a01f826c5bb7e4c59
("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