On Sun, Nov 04, 2012 at 02:05:27AM +0100, Antonio Quartulli wrote:
From: Linus Lüssing <linus.luessing(a)web.de>
commit 7f112af40fecf5399b61e69ffc6b55a9d82789f7 upstream.
So far the crc16 checksum for a batman-adv broadcast data packet, received
on a batman-adv hard interface, was calculated over zero bytes of its
content leading to many incoming broadcast data packets wrongly being
dropped (60-80% packet loss).
This patch fixes this issue by calculating the crc16 over the actual,
complete broadcast payload.
The issue is a regression introduced by
("batman-adv: add broadcast duplicate check").
Signed-off-by: Linus Lüssing <linus.luessing(a)web.de>
Acked-by: Simon Wunderlich <siwu(a)hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek(a)yahoo.de>
Signed-off-by: Antonio Quartulli <ordex(a)autistici.org>
---
Sorry, but I made a mistake in backporting the patch to 3.5. Now it's ok.
Thanks,
3.5 is end-of-life, so I can't take any patches for it anymore, sorry.
In the future, take a look at the front page of
www.kernel.org, it shows
what trees are still "alive" and which are end-of-life.
thanks,
greg k-h