]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: do_bcast has to be true for broadcast packets only
authorAntonio Quartulli <ordex@autistici.org>
Wed, 21 Sep 2011 14:06:42 +0000 (16:06 +0200)
committerMarek Lindner <lindner_marek@yahoo.de>
Thu, 22 Sep 2011 18:27:10 +0000 (20:27 +0200)
commit644cd88cda9c391c6459751dc05f2fa2390b6cae
tree953a1671200e8d1b6fbb2594800b7d339a03e904
parent9e10edc900254f4f9daf9d38cac9f78166dcb7bd
batman-adv: do_bcast has to be true for broadcast packets only

corrects a critical bug of the GW feature. This bug made all the unicast
packets destined to a GW to be sent as broadcast. This bug is present even if
the sender GW feature is configured as OFF. It's an urgent bug fix and should
be committed as soon as possible.

This was a regression introduced by 6b7d163a1e2acc32a05699634084154513377ed1

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/soft-interface.c