Skip to content
Snippets Groups Projects
Commit 531c9da8 authored by Sven Eckelmann's avatar Sven Eckelmann
Browse files

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: default avatarSven Eckelmann <sven@narfation.org>
[lindner_marek@yahoo.de: Move return from function to the end]
Signed-off-by: default avatarMarek Lindner <lindner_marek@yahoo.de>
parent 1181e1da
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment