summaryrefslogtreecommitdiff
path: root/net/batman-adv/tp_meter.c
diff options
context:
space:
mode:
authorGao Feng <gfree.wind@gmail.com>2016-11-21 18:00:32 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2017-01-26 10:41:18 +0300
commitc33705188c493b7de3b8dc2956d67de91b444727 (patch)
treef6875227138a7585b73baa427b527242322d88f5 /net/batman-adv/tp_meter.c
parent0843f197c46dd3c432a3202de80e8bc1fcb96a6b (diff)
downloadlinux-c33705188c493b7de3b8dc2956d67de91b444727.tar.xz
batman-adv: Treat NET_XMIT_CN as transmit successfully
The tc could return NET_XMIT_CN as one congestion notification, but it does not mean the packet is lost. Other modules like ipvlan, macvlan, and others treat NET_XMIT_CN as success too. So batman-adv should handle NET_XMIT_CN also as NET_XMIT_SUCCESS. Signed-off-by: Gao Feng <gfree.wind@gmail.com> [sven@narfation.org: Moved NET_XMIT_CN handling to batadv_send_skb_packet] Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/tp_meter.c')
0 files changed, 0 insertions, 0 deletions