From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1b6vZz-0003YP-Pb for mharc-qemu-trivial@gnu.org; Sun, 29 May 2016 03:56:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6vZx-0003XF-Bo for qemu-trivial@nongnu.org; Sun, 29 May 2016 03:56:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6vZw-0007wy-Ds for qemu-trivial@nongnu.org; Sun, 29 May 2016 03:56:09 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:48140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6vZs-0007uB-1P; Sun, 29 May 2016 03:56:04 -0400 Received: from [192.168.88.2] (mjt.vpn.tls.msk.ru [192.168.177.99]) by isrv.corpit.ru (Postfix) with ESMTP id A086D42BF2; Sun, 29 May 2016 10:55:57 +0300 (MSK) To: Peter Wu , qemu-devel@nongnu.org References: <1462354337-1733-1-git-send-email-peter@lekensteyn.nl> Cc: qemu-trivial@nongnu.org From: Michael Tokarev Openpgp: id=6EE195D1886E8FFB810D4324457CE0A0804465C5 Organization: Telecom Service, JSC Message-ID: <574AA08D.2020005@msgid.tls.msk.ru> Date: Sun, 29 May 2016 10:55:57 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 86.62.121.231 Subject: Re: [Qemu-trivial] [PATCH] gdbstub: set listen backlog to 1 X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2016 07:56:10 -0000 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 From mboxrd@z Thu Jan 1 00:00:00 1970 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