summaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_ppp.c
diff options
context:
space:
mode:
authorLinus Lüssing <linus.luessing@c0d3.blue>2016-08-23 03:13:03 +0200
committerSimon Wunderlich <sw@simonwunderlich.de>2016-08-26 15:22:31 +0200
commit1e5d343b8f23770e8ac5d31f5c439826bdb35148 (patch)
treeac547b89ea8af754e0671ed70610907d8ce63e2e /net/l2tp/l2tp_ppp.c
parentbatman-adv: Add missing refcnt for last_candidate (diff)
downloadlinux-1e5d343b8f23770e8ac5d31f5c439826bdb35148.tar.xz
linux-1e5d343b8f23770e8ac5d31f5c439826bdb35148.zip
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 <linus.luessing@c0d3.blue> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/l2tp/l2tp_ppp.c')
0 files changed, 0 insertions, 0 deletions