]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d4bc9bb3e60291dcec089ef6e59e12ca8aba829
tree563f0c5b039a4ee2d83f6023b2e42c7a7dd1db3d
parent73d4831bfe016907d1baf011b57658de29c84a27
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