]> git.proxmox.com Git - qemu.git/commit
net: EAGAIN handling for net/socket.c UDP
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 20 Aug 2012 09:28:53 +0000 (10:28 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 12 Oct 2012 02:44:18 +0000 (21:44 -0500)
commit9d72a090b2f68201701b10b765c8b3eac596b3bc
tree09dfd90c732198a963997b5172cfa1674b0d7052
parentab52df7712e0efe3bee32ccfed79729cb9dec9f8
net: EAGAIN handling for net/socket.c UDP

Implement asynchronous send for UDP (or other SOCK_DGRAM) sockets.  If
send fails with EAGAIN we wait for the socket to become writable again.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
(cherry picked from commit 213fd5087e2e4e2da10ad266df0ba950cf7618bf)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
net/socket.c