batman-adv: only drop packets of known wifi clients
authorMarek Lindner <lindner_marek@yahoo.de>
Wed, 20 Jun 2012 15:16:05 +0000 (17:16 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 4 Jul 2012 04:44:33 +0000 (05:44 +0100)
commit63b03b04cb66b8780f4455898d32eb2d531f4e60
tree97898bf0e10211a549aa110896daed70fa0e9505
parent9a0fcfb4bd9264ed3a442cb86097cea6aaa9772b
batman-adv: only drop packets of known wifi clients

commit 5870adc68fc39d81089f1e80efdf64b97e5c37a1 upstream.

bug introduced with 59b699cdee039d75915c354da06937102d1f9a84

If the source or destination mac address of an ethernet packet
could not be found in the translation table the packet was
dropped if AP isolation was turned on. This behavior would
make it impossible to send broadcast packets over the mesh as
the broadcast address will never enter the translation table.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/batman-adv/translation-table.c