Hello people,
****
This is the **eigthth** version of this patchset.
The major change since v7 is the introduction of a local storage for ARP
entries.
Up to v7 DAT was using the batX ARP table as local cache, but the kernel
maintainers complained about this solution because they had already planned
to redesign most of the neighbour handling code and so they wanted to avoid to
add other code depending on the current implementation....
Then something else has been fixed:
- unicast ARP request are correctly handled now
- debug messages improved
- requests coming in unicast now get replied with unicast (no 4addr)
****
Cheers,
Antonio Quartulli (7):
batman-adv: add UNICAST_4ADDR packet type
batman-adv: Distributed ARP Table - add a new debug log level
batman-adv: Distributed ARP Table - create DHT helper functions
batman-adv: Distributed ARP Table - implement local storage
batman-adv: Distributed ARP Table - add ARP parsing functions
batman-adv: Distributed ARP Table - add snooping functions for ARP
messages
batman-adv: Distributed ARP Table - add compile option
Martin Hundebøll (1):
batman-adv: Add get_ethtool_stats() support for DAT
Makefile | 2 +
Makefile.kbuild | 1 +
README | 3 +-
README.external | 1 +
compat.c | 10 +
compat.h | 1 +
debugfs.c | 15 +
distributed-arp-table.c | 925 +++++++++++++++++++++++++++++++++++++++++++++++
distributed-arp-table.h | 132 +++++++
gen-compat-autoconf.sh | 1 +
hard-interface.c | 3 +
main.c | 9 +
main.h | 12 +-
originator.c | 2 +
packet.h | 30 +-
routing.c | 37 +-
send.c | 4 +
soft-interface.c | 22 +-
types.h | 44 +++
unicast.c | 102 +++++-
unicast.h | 24 +-
21 files changed, 1347 insertions(+), 33 deletions(-)
create mode 100644 distributed-arp-table.c
create mode 100644 distributed-arp-table.h
--
1.7.9.4
root@OpenWrt:~# opkg install kmod-batman-adv
Installing kmod-batman-adv (3.3.8+2012.2.0-2) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-batman-ad….
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for kmod-batman-adv:
* kernel (= 3.3.8-1-65fa3307447a560c3a618c4d54bfa4dc) * kernel
(= 3.3.8-1-65fa3307447a560c3a618c4d54bfa4dc) *
* opkg_install_cmd: Cannot install package kmod-batman-adv.
This is my foray into batman-adv land, with a freshly flashed
TL-WR703n that has been configured and tested functional as a wifi
access point
Can the list direct me to-
1. do I need to set up toolchain and build batman-adv myself against
this kernel?
2. do I need to set up toolchain and build my own kernel?
3. can I instead point configure for some other repository
I've perused the batman-advanced documentation wiki but the documents
there seem to kind of skip over this bit
--
Best Regards.
here I have a fix intended for net/linux-3.5.
The bug, discovered by Guido Iribarren and fixed by Simon Wunderlich, is caused
by the wrong interaction between the Bridge Loop Avoidance and the Gateway
feature of batman-adv.
Let me know if there are problems.
Thank you,
Antonio
The following changes since commit 9e85a6f9dc231f3ed3c1dc1b12217505d970142a:
Merge tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mturquette/linux (2012-07-03 18:06:49 -0700)
are available in the git repository at:
git://git.open-mesh.org/linux-merge.git tags/batman-adv-fix-for-davem
for you to fetch changes up to 2d3f6ccc4ea5c74d4b4af1b47c56b4cff4bbfcb7:
batman-adv: check incoming packet type for bla (2012-07-06 00:08:46 +0200)
----------------------------------------------------------------
Included changes:
- fix a bug generated by the wrong interaction between the GW feature and the
Bridge Loop Avoidance
----------------------------------------------------------------
Simon Wunderlich (1):
batman-adv: check incoming packet type for bla
net/batman-adv/bridge_loop_avoidance.c | 15 +++++++++++----
net/batman-adv/bridge_loop_avoidance.h | 5 +++--
net/batman-adv/soft-interface.c | 6 +++++-
3 files changed, 19 insertions(+), 7 deletions(-)