diff options
author | Linus Lüssing <linus.luessing@web.de> | 2012-10-17 12:53:04 (GMT) |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-10-18 16:14:57 (GMT) |
commit | 7f112af40fecf5399b61e69ffc6b55a9d82789f7 (patch) | |
tree | 018c3d158fc6e20eff819ca63f03bc3cb84cc006 /net/phonet | |
parent | 43c422eda99b894f18d1cca17bcd2401efaf7bd0 (diff) | |
download | linux-fsl-qoriq-7f112af40fecf5399b61e69ffc6b55a9d82789f7.tar.xz |
batman-adv: Fix broadcast packet CRC calculation
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@web.de>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions