net: exit on WAITALL and !ret
authorJens Axboe <axboe@kernel.dk>
Thu, 29 Nov 2012 18:57:35 +0000 (19:57 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Nov 2012 18:57:35 +0000 (19:57 +0100)
commit7d988f68c7f0ff6bd4c9e558c4defbd9a544b167
treea6ffe838308fc45374c8a40fd4086f40447dfbb7
parent166dce4bdf2573a1641c1de5243e2465b190f0dd
net: exit on WAITALL and !ret

Otherwise we can loop forever if the other end hung up.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/net.c