Re: [PATCH net 1/1] net: batman-adv: Treat NET_XMIT_CN as transmit successfully

2016-11-21 Thread Feng Gao
Hi Sergei, On Mon, Nov 21, 2016 at 6:44 PM, Sergei Shtylyov wrote: > Hello. > > On 11/21/2016 3:39 AM, f...@ikuai8.com wrote: > >> From: Gao Feng >> >> The tc could return NET_XMIT_CN as one congestion notification, but >> it does not mean the packe is lost. Other modules like ipvlan, > > >P

Re: [PATCH net 1/1] net: batman-adv: Treat NET_XMIT_CN as transmit successfully

2016-11-21 Thread Sergei Shtylyov
Hello. On 11/21/2016 3:39 AM, f...@ikuai8.com wrote: From: Gao Feng The tc could return NET_XMIT_CN as one congestion notification, but it does not mean the packe is lost. Other modules like ipvlan, Packet. macvlan, and others treat NET_XMIT_CN as success too. So batman-adv should add

Re: [B.A.T.M.A.N.] [PATCH net 1/1] net: batman-adv: Treat NET_XMIT_CN as transmit successfully

2016-11-21 Thread Feng Gao
Hi Sven, On Mon, Nov 21, 2016 at 4:31 PM, Sven Eckelmann wrote: > On Montag, 21. November 2016 16:21:52 CET Feng Gao wrote: >> Hi Sven, >> >> On Mon, Nov 21, 2016 at 4:16 PM, Sven Eckelmann wrote: >> > On Montag, 21. November 2016 08:39:39 CET f...@ikuai8.com wrote: >> >> From: Gao Feng >> >> >

Re: [B.A.T.M.A.N.] [PATCH net 1/1] net: batman-adv: Treat NET_XMIT_CN as transmit successfully

2016-11-21 Thread Sven Eckelmann
On Montag, 21. November 2016 16:21:52 CET Feng Gao wrote: > Hi Sven, > > On Mon, Nov 21, 2016 at 4:16 PM, Sven Eckelmann wrote: > > On Montag, 21. November 2016 08:39:39 CET f...@ikuai8.com wrote: > >> From: Gao Feng > >> > >> The tc could return NET_XMIT_CN as one congestion notification, but >

Re: [B.A.T.M.A.N.] [PATCH net 1/1] net: batman-adv: Treat NET_XMIT_CN as transmit successfully

2016-11-21 Thread Feng Gao
Hi Sven, On Mon, Nov 21, 2016 at 4:16 PM, Sven Eckelmann wrote: > On Montag, 21. November 2016 08:39:39 CET f...@ikuai8.com wrote: >> From: Gao Feng >> >> The tc could return NET_XMIT_CN as one congestion notification, but >> it does not mean the packe is lost. Other modules like ipvlan, > > s/p

Re: [B.A.T.M.A.N.] [PATCH net 1/1] net: batman-adv: Treat NET_XMIT_CN as transmit successfully

2016-11-21 Thread Sven Eckelmann
On Montag, 21. November 2016 08:39:39 CET f...@ikuai8.com wrote: > From: Gao Feng > > The tc could return NET_XMIT_CN as one congestion notification, but > it does not mean the packe is lost. Other modules like ipvlan, s/packe/packet/ > macvlan, and others treat NET_XMIT_CN as success too. > >

[PATCH net 1/1] net: batman-adv: Treat NET_XMIT_CN as transmit successfully

2016-11-20 Thread fgao
From: Gao Feng The tc could return NET_XMIT_CN as one congestion notification, but it does not mean the packe 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 --- net/batman-adv/di