commit | 531c9da8c854c5b075383253a57fdd4e0be82e99 | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Sun Feb 06 23:26:43 2011 +0000 |
committer | Sven Eckelmann <sven@narfation.org> | Tue Feb 08 00:54:31 2011 +0100 |
tree | ad3cd10621d05b18b1b403f28733e0bc11b8eb8f | |
parent | 1181e1daace88018b2ff66592aa10a4791d705ff [diff] |
batman-adv: Linearize fragment packets before merge We access the data inside the skbs of two fragments directly using memmove during the merge. The data of the skb could span over multiple skb pages. An direct access without knowledge about the pages would lead to an invalid memory access. Signed-off-by: Sven Eckelmann <sven@narfation.org> [lindner_marek@yahoo.de: Move return from function to the end] Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>