]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: use consume_skb for non-dropped packets
authorSven Eckelmann <sven@narfation.org>
Sun, 17 Jul 2016 19:04:00 +0000 (21:04 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 30 Oct 2016 10:11:36 +0000 (11:11 +0100)
commitb91ea2e433aa5c6d1d76066226943e47e3b114ae
tree515668dc83bd3a60a3b2a7acd4f5a28ea76e8111
parent55c7e8c17096dd88effb202141672e2dbe74e739
batman-adv: use consume_skb for non-dropped packets

kfree_skb assumes that an skb is dropped after an failure and notes that.
consume_skb should be used in non-failure situations. Such information is
important for dropmonitor netlink which tells how many packets were dropped
and where this drop happened.

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/fragmentation.c
net/batman-adv/network-coding.c
net/batman-adv/send.c
net/batman-adv/send.h
net/batman-adv/soft-interface.c