From: Simon Wunderlich <[email protected]> Date: Wed, 25 Jan 2017 17:42:58 +0100
> From: Gao Feng <[email protected]> > > 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 <[email protected]> > Signed-off-by: Sven Eckelmann <[email protected]> > Signed-off-by: Simon Wunderlich <[email protected]> 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));
