Today the B.A.T.M.A.N. team releases its latest edition, 2012.0.0, containing
a series of stabilization changes and bug fixes. This release does not
introduce any new features and uniquely focuses on stability. As the kernel
module always depends on the Linux kernel it was compiled against, it does not
make sense to provide binaries on our website. As usual, you will find the
signed tarballs in our download section:
as well as prepackaged binaries in your distribution.
Thanks to all people sending in patches:
* Antonio Quartulli <ordex(a)autistici.org>
* Dan Carpenter <dan.carpenter(a)oracle.com>
* Marek Lindner <lindner_marek(a)yahoo.de>
* Paul Kot <pawlkt(a)gmail.com>
* Simon Wunderlich <siwu(a)hrz.tu-chemnitz.de>
* Sven Eckelmann <sven(a)narfation.org>
The gateway handling code was refactored as it became nearly impossible to
understand the various gateway handling cases that were added over time. Also
refactored was the TT handling code and a common subtype for locally and
globally announced mac addresses was introduced. All told, the TT code was
thoroughly reviewed leading to numerous fixes: When adding a tt entry to the
hash failed its memory is properly freed. Globally roaming clients are now
clearly marked as such. The length of a TT packet is compared with the length
the packet claims to have, thereby avoiding memory corruptions. The expensive
packet linearize function is called only when absolutely necessary.
We also were in the lucky position of getting a security audit from Paul Kot
who did find a possible memory corruption in the batman socket reading code.
However, since there is no way to exploit it, according to him, we judged the
risk to be low. Obviously, the fix for this corruption is part of the release.
Also fixed was a kernel freeze when the bat0 interface could not be created.
The log level parameter parser was fixed, so that it now correctly exits after
receiving an invalid option as well as correctly handles the 'all' log level
The B.A.T.M.A.N. team
I am trying batman-adv on trunk openwrt for ubiquiti bullet2. I am using
trunk because I want 2011.4.0.
In menuconfig I select Kernel Modules/Network Support/Kmod-batgat +
kmod-batman-adv + enable batctl.
Now I see that in Network/Routing and redirection/Batmand is auto
selected (I cannot deselect it)
Is this normal behavior? I see that besides the kmods, I also have
batmand installed on the router. I thought that this would have not been
included after the introduction of batman-adv.
Is this normal behavior or is there something wrong with menuconfig that
is causing batmand to be included?
in recv_unicast_frag(), the third parameter of the interface_rx() invocation,
which is the size of the current header, is wrongly computed.
Signed-off-by: Antonio Quartulli <ordex(a)autistici.org>
routing.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/routing.c b/routing.c
index f961cc5..cf8fe0a 100644
@@ -990,7 +990,7 @@ int recv_ucast_frag_packet(struct sk_buff *skb, struct hard_iface *recv_if)
interface_rx(recv_if->soft_iface, new_skb, recv_if,
- sizeof(struct unicast_packet));