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: NRusty Russell <rusty@rustcorp.com.au>
Showing
想要评论请 注册 或 登录
get_buf() gives the length written by the other side, which will be
zero. We want to add the skb length.
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>