Received: from eggs.gnu.org ([2001:4830:134:3::10]:43967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6vZv-0003X9-Ck for qemu-devel@nongnu.org; Sun, 29 May 2016 03:56:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6vZs-0007vC-9U for qemu-devel@nongnu.org; Sun, 29 May 2016 03:56:07 -0400 References: <1462354337-1733-1-git-send-email-peter@lekensteyn.nl> From: Michael Tokarev Message-ID: <574AA08D.2020005@msgid.tls.msk.ru> Date: Sun, 29 May 2016 10:55:57 +0300 MIME-Version: 1.0 In-Reply-To: <1462354337-1733-1-git-send-email-peter@lekensteyn.nl> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] gdbstub: set listen backlog to 1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Wu , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org 04.05.2016 12:32, Peter Wu wrote: > Avoid possible connection drops on Linux (when tcp_syncookies is > disabled) or fallbacks to SYN cookies with the following kernel warning: > > TCP: request_sock_TCP: Possible SYN flooding on port 1234. Sending cookies. Check SNMP counters. > > Since Linux 4.4 (ef547f2ac16b "tcp: remove max_qlen_log"), a backlog of > zero is really treated as the "queue length for completely established > sockets waiting to be accepted" (listen(2)). This is apparently a valid > interpretation of an "implementation-defined minimum value" for a > backlog value of 0 (listen(3p)). Previous kernels would use 8 as > minimum value, but that is no longer the case. Applied to -trivial, thanks! /mjt