]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6d3a3233382f39913b9e20cdc0926190bb0d6ea
tree3846a27be94c8f4dff011c97931073bf9ac96f32
parent1b3e7bf8c3918959c035b86f804182bd39324695
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