diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-02 21:50:43 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-02 21:50:44 +1000 |
commit | 655aa31f028c4498e8896576571ee1ea68dd26e0 (patch) | |
tree | e133f367535d97a6cbe65d95bd0174822a21e76f /drivers/virtio | |
parent | 5ef827526fc01820a7a80827802e9fad3f34f937 (diff) | |
download | linux-3.10-655aa31f028c4498e8896576571ee1ea68dd26e0.tar.gz linux-3.10-655aa31f028c4498e8896576571ee1ea68dd26e0.tar.bz2 linux-3.10-655aa31f028c4498e8896576571ee1ea68dd26e0.zip |
virtio: fix tx_ stats in virtio_net
get_buf() gives the length written by the other side, which will be
zero. We want to add the skb length.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions