summaryrefslogtreecommitdiff
path: root/sock.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-14sock: Check return value of setsockopt() in set_tcp_nodelay()Tobias Klauser1-2/+5
2013-06-04sock: add socket management functionsDaniel Borkmann1-0/+176
t;sw@simonwunderlich.de>2016-08-26 15:22:31 +0200 commit1e5d343b8f23770e8ac5d31f5c439826bdb35148 (patch) treeac547b89ea8af754e0671ed70610907d8ce63e2e 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 <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