Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp134592imu; Wed, 7 Nov 2018 22:32:13 -0800 (PST) X-Google-Smtp-Source: AJdET5c6b3pSxVwvmGnkswuUJcmulcjN6rTkGQtfXYpp1NKpJOzmqAcIKImz6nvKlRJESz1IJRFw X-Received: by 2002:a63:1560:: with SMTP id 32mr2767201pgv.383.1541658733411; Wed, 07 Nov 2018 22:32:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541658733; cv=none; d=google.com; s=arc-20160816; b=GFQMMGWKDWbIZxx4yvrWK/wK39xTZxjkTVq1XwIpLKM6EqNrUsy+BXLxQUnkTCzcU/ AH6oO+4becrA2ABxcjldOWnUuePjM6UN7V76KLZbjhmQ/woxms2H+zL+DY/0gsO1866h iD5Q03MXewoZoEtggILXGH+7/VSZxS49ZXQlKS2kb8l1C07fTWLuZ8wBk8yxsf19wVln NrRcu8zh9GrTZvPA9D1Ogh02QRFJVhGGg/xKvzn5EN8qWXeU/J8J4TYwWbAcyDyzVUcS OtGR6fKYh1q1m1QSiXihniTCDfGNTYUMwKjOMkhUZtxexrdhsKepn4zpydTGY8akCXXa FtNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=j9aHo+LceRYHSV6YMlI7jlJjw1e1MN9fI/YrO6fekRU=; b=gxKsOyBYvY63rkhSllstvK6pcPhwyEcCpukFFiOcnx5U9LtVMIhYS9oqcJZhOw/nvi Zm8EZi6X2qUPm4aYhl/GyixsScWztnFQ0bk5624qlV31zZ2ljMkRuzPNIGmVV63xLe0C 4JM3u5nY1AJRJeaLHglDwowYEBmfu2KOZJBhSPP5a8bg7ZR9NBN3OapLkcMpLFm6P9qA zkwexXRK3t3RVShYsoD/vw71CGQLhXYnH2VsmCmGUyImsqGLzLHxpWomZqUiQDYw7ULF mAW2P4JWAD6MxwWKN7EzaBef/izszAgvmK7Er6x/VeuxVhQmH+EXnAL+dfKI8qF0DkCW jtoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k19-v6si3189423pls.211.2018.11.07.22.31.55; Wed, 07 Nov 2018 22:32:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726424AbeKHQF3 (ORCPT + 99 others); Thu, 8 Nov 2018 11:05:29 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:52092 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbeKHQF3 (ORCPT ); Thu, 8 Nov 2018 11:05:29 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::cf9]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 94491145E7450; Wed, 7 Nov 2018 22:31:33 -0800 (PST) Date: Wed, 07 Nov 2018 22:31:32 -0800 (PST) Message-Id: <20181107.223132.515808202553908107.davem@davemloft.net> To: laoar.shao@gmail.com Cc: edumazet@google.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] inet: minor optimization for backlog setting in listen(2) From: David Miller In-Reply-To: <1541589617-1607-1-git-send-email-laoar.shao@gmail.com> References: <1541589617-1607-1-git-send-email-laoar.shao@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 07 Nov 2018 22:31:33 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yafang Shao Date: Wed, 7 Nov 2018 19:20:16 +0800 > Set the backlog earlier in inet_dccp_listen() and inet_listen(), > then we can avoid the redundant setting. > > Signed-off-by: Yafang Shao Applied.