batman-adv: Consume skb in receive handlers
authorSven Eckelmann <sven@narfation.org>
Sun, 17 Jul 2016 19:04:04 +0000 (21:04 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 8 Nov 2016 18:02:34 +0000 (19:02 +0100)
commitb91a2543b4c15fed504e587d4441169c75d6646e
tree563f0c5b039a4ee2d83f6023b2e42c7a7dd1db3d
parent1ad5bcb2a032262170fdc508abfa0acb0565e2b5
batman-adv: Consume skb in receive handlers

Receiving functions in Linux consume the supplied skbuff. Doing the same in
the batadv_rx_handler functions makes the behavior more similar to the rest
of the Linux network code.

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/bat_v_elp.c
net/batman-adv/bat_v_ogm.c
net/batman-adv/main.c
net/batman-adv/network-coding.c
net/batman-adv/routing.c