commit | 8cfd88d6d70735c47b17aef855b4c81dde83c85c | [log] [tgz] |
---|---|---|
author | Yang Yingliang <yangyingliang@huawei.com> | Wed Dec 25 17:35:14 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 31 14:31:43 2013 -0500 |
tree | aaa2f500d4ad6be09a89aeeee4d52eaa375d2868 | |
parent | 837052d0ccc5a789a578f8b628ba154b63bd51ea [diff] |
sch_netem: more precise length of packets With TSO/GSO/GRO packets, skb->len doesn't represent a precise amount of bytes on wire. This patch replace skb->len with qdisc_pkt_len(skb) which is more precise. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>