diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-06-18 18:21:32 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-22 10:15:30 -0500 |
commit | 1f7babf6d5ca24460694556d617cd17ae8be2ed4 (patch) | |
tree | 50f9190ebc04eba36802a8f56f321197a4f613cc /cris-dis.c | |
parent | b664e3673c6c2ca228ce025292e32b34f73df5f5 (diff) | |
download | qemu-1f7babf6d5ca24460694556d617cd17ae8be2ed4.zip qemu-1f7babf6d5ca24460694556d617cd17ae8be2ed4.tar.gz qemu-1f7babf6d5ca24460694556d617cd17ae8be2ed4.tar.bz2 |
net: handle EAGAIN from tapfd write()
If a write() on tapfd returns EAGAIN, return zero so that the packet
gets queued (in the case of async send) and enable polling tapfd for
writing.
When tapfd becomes writable, disable write polling and flush any queued
packets.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cris-dis.c')
0 files changed, 0 insertions, 0 deletions