Jason Wang 091f1f5296 socket: pass correct size in net_socket_send()
We should pass the size of packet instead of the remaining to
qemu_send_packet_async().

Fixes: 6e99c631f116221d169ea53953d91b8aa74d297a
       ("net/socket: Drop net_socket_can_send")

Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1436259656-24263-1-git-send-email-jasowang@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-07-20 17:39:05 +01:00
..
2013-03-25 11:13:10 +01:00
2015-06-24 16:33:42 +01:00
2015-06-22 18:20:40 +02:00
2015-06-17 17:12:54 +02:00
2015-06-19 12:17:25 +02:00
2015-06-19 12:17:25 +02:00
2015-06-19 12:17:25 +02:00
2015-06-19 12:17:25 +02:00
2015-06-19 12:17:25 +02:00
2015-06-19 11:30:57 +01:00
2012-12-19 08:31:29 +01:00