net engine: notify receiver of UDP link close
authorJens Axboe <jens.axboe@oracle.com>
Mon, 19 Jan 2009 12:26:36 +0000 (13:26 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 19 Jan 2009 12:26:36 +0000 (13:26 +0100)
commit664fb3bde9ed3b61d0520b6b4f3d0ba9599834b0
treec46fc330123dd1c761a040d56065c7f09a4bac51
parente235d5f883d7640d6ca2255cbdc43762b1fe6959
net engine: notify receiver of UDP link close

Also optimize the send/receive path, only use poll() if the non-blocking
send/recv returned EAGAIN.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/net.c