Commit Graph

37 Commits

Author SHA1 Message Date
Sven Eckelmann 0d86d08be9 batman-adv: Fix speedy join in gateway client mode
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>
2016-07-06 15:36:23 +02:00
Sven Eckelmann 14e98d86ac batman-adv: Add reference counting + nullptr fixes
* 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>
2016-07-05 12:03:44 +02:00
Sven Eckelmann f1f7684c2c batman-adv: Add fixes from upcoming 2016.2 release
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>
2016-06-07 08:14:51 +02:00
Alexander Couzens 29c2d49c8e batman-adv: remove DEPENDS:=kmod-crypto-core
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>
2016-06-06 18:56:37 +02:00
Marek Lindner a3cd8a1729 batman-adv: 2016.1 bugfixes & stability updates
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2016-05-07 20:43:29 +08:00
Marek Lindner 76e83819b4 batman-adv: revert partial cfg80211 kernel dependency
The entire batman-adv code relies on the kernel backports introduced
by the mac80211 package.

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2016-05-06 00:09:54 +08:00
Marek Lindner e35df7827f batman-adv: autoload cfg80211 kernel dependency
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2016-05-05 21:46:51 +08:00
Marek Lindner 049cae3fe8 batman-adv: upgrade package to latest release 2016.1
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2016-04-25 17:47:14 +08:00
Marek Lindner c68c694765 batman-adv: upgrade package to latest release 2014.4.0
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2015-01-08 01:01:58 +08:00
Sven Eckelmann bbcc138fc0 batman-adv: Preserve configuration file on update
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>
2014-11-04 14:57:29 +01:00
Steven Barth 69f203d5c3 Add SPDX license tags
Signed-off-by: Steven Barth <steven@midlink.org>
2014-11-03 13:17:00 +01:00
Marek Lindner 3c424899ed batman-adv: upgrade package to latest release 2014.3.0
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-10-13 14:08:28 +08:00
Marek Lindner f5205d7d24 batman-adv: upgrade package to latest release 2014.2.0
* remove batctl tool into separate package
 * support for vlan options added

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-06-07 13:33:28 +08:00
Marek Lindner c00eb4f16a batman-adv: upgrade package to latest release 2014.1.0
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-05-13 05:29:35 +08:00
Marek Lindner 73764a009f batman-adv: add support for the isolation_mark option
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>
2014-04-06 21:51:04 +08:00
Marek Lindner b905f3f159 batman-adv: 2014.1.0 bugfixes & stability updates
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-03-31 21:00:08 +08:00
Marek Lindner 4602541204 batman-adv: upgrade package to latest release 2014.1.0
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-03-13 21:21:05 +08:00
Marek Lindner 2185559079 batman-adv: 2014.0.0 updated stability fixes
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-02-15 09:41:19 +08:00
Marek Lindner 46ea4de211 batman-adv: 2014.0.0 compat updates for older kernels
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-01-30 20:44:46 +08:00
Marek Lindner 4ef1f3eee1 batman-adv: 2014.0.0 updated stability fixes
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-01-29 13:00:04 +08:00
Bastian Bittorf b5a0b783ee batman-adv: add 'crc16' dependency which is still needed but got removed accidentally
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>
2014-01-16 06:53:52 +08:00
Marek Lindner c7e942386f batman-adv: fix batman-adv header overhead calculation
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-01-16 06:49:49 +08:00
Marek Lindner 1ee5b17e4f batman-adv: upgrade package to latest release 2014.0.0
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2014-01-14 03:16:56 +08:00
Marek Lindner ca078f89c2 batman-adv: upgrade package to latest release 2013.4.0
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2013-10-15 03:19:03 +08:00
Bastian Bittorf 1c0b315289 batman-adv: tweak the Makefile for dynamically patch 'main.h' via 'sed' by inserting '#undef CONFIG_MODULE_STRIPPED' - so the intelligent OpenWrt-optimizer will not destroy important module-metadata. remove the old patch which does the same, but needed rebasing everything main.h changes. compile and run-tested on ar71xx 2013-10-08 21:53:12 +02:00
Bastian Bittorf 31bf3fe9cf Revert "batman-adv: remove 'un-optimization' patch for openwrt"
This reverts commit a8e21bf882.
2013-09-30 00:09:08 +02:00
Marek Lindner fd336abf54 batman-adv: 2013.3.0 updated stability fixes
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2013-09-17 22:51:12 +00:00
Marek Lindner a8e21bf882 batman-adv: remove 'un-optimization' patch for openwrt
OpenWrt is providing a proper solution.

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2013-09-17 22:47:21 +00:00
Bastian Bittorf a13686a898 last patch was malformed, refresh 7936cfc9b8 2013-09-06 16:32:00 +02:00
Bastian Bittorf 7936cfc9b8 a new optimisation in openwrt is stripping some metadata information, invluding
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>
2013-09-06 15:37:33 +02:00
Marek Lindner 60296fff41 batman-adv: 2013.3.0 updated stability fixes
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2013-08-15 17:36:37 +08:00
Marek Lindner a96287cedc batman-adv: fix batctl compiler problems on mips
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2013-07-31 11:53:36 +08:00
Marek Lindner adbb4cb247 batman-adv: upgrade package to latest release 2013.3.0
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2013-07-24 16:48:40 +08:00
Marek Lindner 7bc2864e4c batman-adv: 2013.2.0 updated stability fixes
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2013-06-10 11:26:47 +08:00
Marek Lindner 88e202e848 batman-adv: 2013.2.0 stability fixes
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2013-05-09 17:56:23 +08:00
Marek Lindner a6d6fa15cd batman-adv: upgrade package to latest release 2013.2.0
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2013-05-08 18:25:38 +08:00
Jo-Philipp Wich a0e2bb6a79 move batman-adv files to subdirectory 2013-04-18 18:54:15 +02:00