From: Simon Wunderlich <s...@simonwunderlich.de> Date: Wed, 25 Jan 2017 17:42:58 +0100
> From: Gao Feng <gfree.w...@gmail.com> > > 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 <gfree.w...@gmail.com> > Signed-off-by: Sven Eckelmann <s...@narfation.org> > Signed-off-by: Simon Wunderlich <s...@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));