diff options
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | 2012-10-18 13:47:42 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-11-21 12:35:45 +0100 |
commit | 004e86fc585f617f07bff38480eeee335be9b017 (patch) | |
tree | 6155b18b4f9b14105dbde5330c53f30adac7e6bf /net/mac80211 | |
parent | batman-adv: Add function to calculate crc32c for the skb payload (diff) | |
download | linux-004e86fc585f617f07bff38480eeee335be9b017.tar.xz linux-004e86fc585f617f07bff38480eeee335be9b017.zip |
batman-adv: Fix broadcast duplist for fragmentation
If the skb is fragmented, the checksum must be computed on the
individual fragments, just using skb->data may fail on fragmented
data. Instead of doing linearizing the packet, use the new
batadv_crc32 to do that more efficiently- it should not hurt
replacing the old crc16 by the new crc32.
Reported-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions