nbd-server: treat accept errors as non-fatal
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Jun 2012 21:40:48 +0000 (01:40 +0400)
committerWouter Verhelst <w@uter.be>
Sat, 23 Jun 2012 23:38:34 +0000 (01:38 +0200)
commitabe1977070e2c71d82f473c6d3aa807b489c7fb0
treed2a5ff332534b5296c45aa2a018709bbcd70f391
parent2a62394c64734f32d4d8205c80ac935f59f3f873
nbd-server: treat accept errors as non-fatal

In most cases, an error returned by accept system call is a network
error, which should not terminate the whole nbd-server.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
nbd-server.c