Re: [Patch net] fq_codel: fix return value of fq_codel_drop()

2015-07-15 Thread David Miller
From: Cong Wang xiyou.wangc...@gmail.com Date: Tue, 14 Jul 2015 11:21:58 -0700 The -drop() is supposed to return the number of bytes it dropped, however fq_codel_drop() returns the index of the flow where it drops a packet from. Fix this by introducing a helper to wrap fq_codel_drop().

Re: [Patch net] fq_codel: fix return value of fq_codel_drop()

2015-07-15 Thread Eric Dumazet
On Tue, 2015-07-14 at 11:21 -0700, Cong Wang wrote: The -drop() is supposed to return the number of bytes it dropped, however fq_codel_drop() returns the index of the flow where it drops a packet from. Fix this by introducing a helper to wrap fq_codel_drop(). Cc: Eric Dumazet

[Patch net] fq_codel: fix return value of fq_codel_drop()

2015-07-14 Thread Cong Wang
The -drop() is supposed to return the number of bytes it dropped, however fq_codel_drop() returns the index of the flow where it drops a packet from. Fix this by introducing a helper to wrap fq_codel_drop(). Cc: Eric Dumazet eduma...@google.com Signed-off-by: Cong Wang xiyou.wangc...@gmail.com