commit | 7bba83bf80eae9c9e323319ff40d0ca477b0a77a | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Tue Jul 28 17:52:56 2015 +0800 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Tue Jul 28 11:35:54 2015 +0100 |
tree | cf00d634e7b4c073e1fb791a5112fbc57fd05a5e | |
parent | ff1d2ac949dc94d8a0e71fd46939fb69c2ef075b [diff] |
xen: Drop net_rx_ok Let net_rx_packet() (which checks the same conditions) drops the packet if the device is not ready. Drop net_xen_info.can_receive and update the return value for the buffer full case. We rely on the qemu_flush_queued_packets() in net_event() to wake up the peer when the buffer becomes available again. Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1438077176-378-1-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>