summaryrefslogtreecommitdiff
path: root/crypto/sha1_generic.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2015-07-14 21:21:58 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-16 07:36:35 +0300
commitc0afd9ce4d6a646fb6433536f95a418bb348fab1 (patch)
tree25faa506001a9836892255ab9ac41da19b5ce878 /crypto/sha1_generic.c
parente8d092aafd9e68c04d7b468e95ff7a617998a796 (diff)
downloadlinux-c0afd9ce4d6a646fb6433536f95a418bb348fab1.tar.xz
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 <edumazet@google.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Cong Wang <cwang@twopensource.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/sha1_generic.c')
0 files changed, 0 insertions, 0 deletions