aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorLinus Lüssing <[email protected]>2016-08-23 03:13:03 +0200
committerSimon Wunderlich <[email protected]>2016-08-26 15:22:31 +0200
commit1e5d343b8f23770e8ac5d31f5c439826bdb35148 (patch)
treeac547b89ea8af754e0671ed70610907d8ce63e2e /lib/mpi/mpi-cmp.c
parent936523441bb64cdc9a5b263e8fd2782e70313a57 (diff)
batman-adv: fix elp packet data reservation
The skb_reserve() call only reserved headroom for the mac header, but not the elp packet header itself. Fixing this by using skb_put()'ing towards the skb tail instead of skb_push()'ing towards the skb head. Fixes: d6f94d91f766 ("batman-adv: ELP - adding basic infrastructure") Signed-off-by: Linus Lüssing <[email protected]> Signed-off-by: Marek Lindner <[email protected]> Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions