Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3684402imm; Mon, 8 Oct 2018 07:59:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV61MHkV9zZ9k5BdW9i1o/Wxp8ST/L+PCb97U7VfgjvlSbMvcEtI47HhUOKKxjBbimbuWdMBD X-Received: by 2002:a63:9c01:: with SMTP id f1-v6mr21030628pge.156.1539010778988; Mon, 08 Oct 2018 07:59:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539010778; cv=none; d=google.com; s=arc-20160816; b=nJg6ewH0SC3xBplRPYBUZ7ArAWlJOIKkiQ5o2nBo6nrsjUxUQSaYAVJedVBf0j4cdq BXfXg1ywv9wbeHPtNeE6GIS8ZOscQ2K1UbQtkM9arcyp6VYacSRXkDbRbgux5MNBUuFf HNxrRzQkLHdcsvXmcezm3YwA6PtbfC2UyCywGhBABugbLuVxCMseO8MMkezRR80p8bmK Zj8sW2KetxZQzq+IpBAdgDRrGrSHrBjHdZsEPxtFRWERpdNfekaKztTaVMcYvLtcSR3N EjOy1/Kxg2arON9fzruyzYRZuNNJZPueDStMdigLG4NXlbg9MNAvy0vzO5nox5Khx7Fz MrOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1XBIBBlLIEP0LVBuJe22LznfiNmuwu8XowiZyVHmp+w=; b=fJUZnRC8QPcA+p829jTqilap08DVvRu0AXRvLYK90b3y2XM+zV2e5QsIzpvvKFSFfi j8Iee2CPSedrxWLUSLs9jCoMX70DNKN1ocm8pBesRjfrunsLhwVdGnsw8GeGcNe42Ao0 Imp8SvPsKBVdxAnJkB97itFHxctrdFbR38oS/75KR7TOqqocwIIotHxJICQeyAp1dGRx iRwt0M6//PWq/KD9tfduBZXos1flPk6Ju2NWPPZjznnSsmDa3xdhu0XO6vJvt9p1893r MRaexmqBhj01rppdrx+bYEStXDlxvhMfbpUuhuEREgTOoLDYUMD8RHzJhUEP5qrtfsDD 3Pqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Leih5nMG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b89-v6si19678331plb.143.2018.10.08.07.59.23; Mon, 08 Oct 2018 07:59:38 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Leih5nMG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726613AbeJHWLG (ORCPT + 99 others); Mon, 8 Oct 2018 18:11:06 -0400 Received: from mail-it1-f180.google.com ([209.85.166.180]:51418 "EHLO mail-it1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726367AbeJHWLG (ORCPT ); Mon, 8 Oct 2018 18:11:06 -0400 Received: by mail-it1-f180.google.com with SMTP id 74-v6so11861479itw.1; Mon, 08 Oct 2018 07:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1XBIBBlLIEP0LVBuJe22LznfiNmuwu8XowiZyVHmp+w=; b=Leih5nMGuB/uXHWUkBU2sBPJaJ1+Q7Egxe6YdvQ1zn7z+SrO/0QdalZg1IB3/D0VR5 crjycKxr4fyw1GtxMnd5s2U3ZIY7QJ4dlwcQdsw1x+jeJq6uAS8NW3zb0oiVJc5hv+dm RbjaS0NqFjSA6zV1J+alDht98XTMp42cbtTvCkO24e+9ztND/QZkgxlPn0cXhB5sKa4p j+LjS9lqDf9FWVsXhvEuVj1Yds32GQc65IGP4aghrhI0kk0YTCMGWLBPPx4g8+oKttay oDJ4wx3g52lnTIhKCaNEUyHqialZVkpPzN0PDfEhJOzJ8yLLW9uUIL+M0RrEQ1KKdB8E so2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1XBIBBlLIEP0LVBuJe22LznfiNmuwu8XowiZyVHmp+w=; b=j78ius2ul/xG9Rt+pQstZFie/8zywdghoq23mTHQFsTrvYiEJKlw5pW3amwOD99YIM wuCZrzwoig2xHFAK9RbdqWN1aCUU4LXAhjIvLgUBAqSz8gO76l81m7yAf/hwBm76XtOm slHOK4+sX+WHX/3wBaKC12UyHyJos2EuG5UV8nBTlA/Uq/xzmDhSWsvGtMRKsE2iObqv mS6sBMnWhMG2ZB0D5fmvVYW2wMpiCUS6URt7XR7kYRfPHbq+rA7cfMvzvuRSnMTWwO33 NsSvp/2lURVMCb45/qaG13s75LgUkhkiRR2xmupl7g30C8VqM8GnKVSVNqXdpFhqHhOB nY2Q== X-Gm-Message-State: ABuFfoiM0Mn0iO1kXRK0rBLF03AemLZxgjgQU+D4NjJor9OxINJoc2bb T1cHS3psdDNPvlWIKl35W5LVBBLshUcIQlFz6kw= X-Received: by 2002:a24:8789:: with SMTP id f131-v6mr6158565ite.27.1539010737793; Mon, 08 Oct 2018 07:58:57 -0700 (PDT) MIME-Version: 1.0 References: <1538919405-3093-1-git-send-email-laoar.shao@gmail.com> <0652963b-90ac-06a7-3a35-50a307465cf9@gmail.com> In-Reply-To: From: Yafang Shao Date: Mon, 8 Oct 2018 22:58:21 +0800 Message-ID: Subject: Re: [PATCH v2 net-next] inet: do not set backlog if listen fails To: Eric Dumazet Cc: Eric Dumazet , David Miller , netdev , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 8, 2018 at 10:48 PM Eric Dumazet wrote: > > On Mon, Oct 8, 2018 at 3:47 AM Yafang Shao wrote: > > > > > > Pls. correct me if I missed something. > > > > You missed that this variable must be set before listener is setup. > Same feedback than prior version really (when you trived to move > around sk_ack_backlog clearing) > > You are changing inet_csk_listen_start() but this is wrong... Got it. Thank you.