From: Petr Uzel Date: Thu, 3 Feb 2011 14:04:57 +0000 (+0100) Subject: uuidd: increase connection backlog size to SOMAXCONN X-Git-Tag: v2.19~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2307a2b9eab7d1730e39f021c3f456e05fe48449;p=thirdparty%2Futil-linux.git uuidd: increase connection backlog size to SOMAXCONN Signed-off-by: Petr Uzel --- diff --git a/misc-utils/uuidd.c b/misc-utils/uuidd.c index 825a38ad87..1315a7eb84 100644 --- a/misc-utils/uuidd.c +++ b/misc-utils/uuidd.c @@ -281,7 +281,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path, } (void) umask(save_umask); - if (listen(s, 5) < 0) { + if (listen(s, SOMAXCONN) < 0) { if (!quiet) fprintf(stderr, _("Couldn't listen on unix " "socket %s: %s\n"), socket_path,