]> Git Repo - linux.git/commit
fq_codel: fix return value of fq_codel_drop()
authorWANG Cong <[email protected]>
Tue, 14 Jul 2015 18:21:58 +0000 (11:21 -0700)
committerDavid S. Miller <[email protected]>
Thu, 16 Jul 2015 04:36:35 +0000 (21:36 -0700)
commitc0afd9ce4d6a646fb6433536f95a418bb348fab1
tree25faa506001a9836892255ab9ac41da19b5ce878
parente8d092aafd9e68c04d7b468e95ff7a617998a796
fq_codel: fix return value of fq_codel_drop()

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 <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/sch_fq_codel.c
This page took 0.056286 seconds and 4 git commands to generate.