diff options
author | 2011-09-14 13:06:45 +0530 | |
---|---|---|
committer | 2011-11-02 11:41:00 +1030 | |
commit | 2d24cdaa6e389f85dad51eda39f1c2684a4f15b0 (patch) | |
tree | 88f02e92c459fa8d768c1ae6fbcfa8a4ccfcdc0e /fs | |
parent | virtio: console: rename variable (diff) | |
download | linux-dev-2d24cdaa6e389f85dad51eda39f1c2684a4f15b0.tar.xz linux-dev-2d24cdaa6e389f85dad51eda39f1c2684a4f15b0.zip |
virtio: console: make discard_port_data() use get_inbuf()
discard_port_data() used virtqueue_get_buf() directly instead of using
get_inbuf(). Fix this, so that we get accounting for all received
bytes. This also simplifies the code a lot.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions