diff options
author | Linus Lüssing <[email protected]> | 2016-08-23 03:13:03 +0200 |
---|---|---|
committer | Simon Wunderlich <[email protected]> | 2016-08-26 15:22:31 +0200 |
commit | 1e5d343b8f23770e8ac5d31f5c439826bdb35148 (patch) | |
tree | ac547b89ea8af754e0671ed70610907d8ce63e2e /lib/mpi/mpi-cmp.c | |
parent | 936523441bb64cdc9a5b263e8fd2782e70313a57 (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