diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-27 18:16:36 +0000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-11-09 08:43:02 -0600 |
commit | 893379efd0e1b84ceb0c42a713293f3dbd27b1bd (patch) | |
tree | bc0bce61704492223a353a80e63101e868fc05c0 /dyngen-exec.h | |
parent | be1636b3ab36b3decdd0eb35b3b09a998060104f (diff) |
net: disable receiving if client returns zero
If a receiver returns zero, that means its queue is full and it will
notify us when room is available using qemu_flush_queued_packets().
Take note of that and disable that receiver until it flushes its queue.
This is a first step towards allowing can_receive() handlers to return
true even if no buffer space is available.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'dyngen-exec.h')
0 files changed, 0 insertions, 0 deletions