Thread (8 messages) flat view 8 messages, 2 authors, 2017-01-26

Re: [PATCH 2/7] batman-adv: Treat NET_XMIT_CN as transmit successfully

From: David Miller <davem@davemloft.net>
Date: 2017-01-26 03:56:26
Also in: batman

From: Simon Wunderlich <sw@simonwunderlich.de>
Date: Wed, 25 Jan 2017 17:42:58 +0100
From: Gao Feng <redacted>

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 add the NET_XMIT_CN check.

Signed-off-by: Gao Feng <redacted>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Instead of all of this churn, just change the dev_queue_xmit() call in
net/batman-adv/send.c to be:

	return net_xmit_eval(dev_queue_xmit(skb));
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help