batman-adv: privatize forw_packet skb assignment
authorLinus Lüssing <linus.luessing@c0d3.blue>
Fri, 17 Feb 2017 10:17:06 +0000 (11:17 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 26 Mar 2017 10:46:44 +0000 (12:46 +0200)
commit99ba18ef0200a824e7bae73f358916b6e3624d62
tree3846a27be94c8f4dff011c97931073bf9ac96f32
parenta3a5129e122709306cfa6409781716c2933df99b
batman-adv: privatize forw_packet skb assignment

An skb is assigned to a forw_packet only once, shortly after the
forw_packet allocation.

With this patch the assignment is moved into the this allocation
function.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/send.c
net/batman-adv/send.h