Speedy join only works when the received packet is either broadcast or an
4addr unicast packet. Thus packets converted from broadcast to unicast via
the gateway handling code have to be converted to 4addr packets to allow
the receiving gateway server to add the sender address as temporary entry
to the translation table.
Not doing it will make the batman-adv gateway server drop the DHCP response
in many situations because it doesn't yet have the TT entry for the
destination of the DHCP response.
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* Avoid nullptr dereference in bla after vlan_insert_tag
* Avoid nullptr dereference in dat after vlan_insert_tag
* Avoid tt_req_node list put for unhashed entry
* Fix orig_node_vlan leak on orig_node_release
* Fix non-atomic bla_claim::backbone_gw access
* Fix reference leak in batadv_find_router
* Free last_bonding_candidate on release of orig_node
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
The upcoming batman-adv 2016.2 contains multiple new features, code
refactoring and similar things. These may not be fitting for Chaos Calmer
but the changes in the maintenance branch (bugfixes) should be integrated
to increase the stability.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
kmod-crypto-core was removed in openwrt/trunk svn 46820 and all
kconfig's are now built-in.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
The entire batman-adv code relies on the kernel backports introduced
by the mac80211 package.
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
The configuration file of batman-adv should be marked as such to avoid that the
old configuration options are overwritten when it is upgraded.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
With the introduction of the Extended Isolation component[1]
a new option is required by batman-adv: the isolation_mark.
This patch adds support for it in the configuration file
[1] http://www.open-mesh.org/projects/batman-adv/wiki/Extended-isolation
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
The 'crc16' kernel lib is still needed/used by the BLA framework
(Bridge Loop Avoidance) in bridge_loop_avoidance.c. Thanks to
Antonio 'ordex' Quartulli for confirmation.
Introduced by 1ee5b17e4f
("upgrade package to latest release 2014.0.0").
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
the module version which is used by batctl to tell the user which version
batman-adv the node is currently running.
Un-define this constant to prevent the metadata from being stripped
Signed-off-by: Antonio Quartulli <ordex at autistici.org>