Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3674707imm; Mon, 8 Oct 2018 07:49:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV61YKqC9ww4She5rVogd6UhxDTmnb1AYRO09SZ2NGsG/DkBOLTzGZkRn2uqpZKewebgbKaeX X-Received: by 2002:a17:902:421:: with SMTP id 30-v6mr18371898ple.184.1539010190145; Mon, 08 Oct 2018 07:49:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539010190; cv=none; d=google.com; s=arc-20160816; b=hjGEGIyc78P8P5UrqtwWZrgbQS2PG8rozO6+Ak2WhqdYVBW7cwnjVnSFYyWr8dL9d5 BWiTkeObxwJ30pn3r2kVsswzYjNCe4efNtQlMygR4uZlTbVj5Jel0+cvxo8+VEA/x+u1 CrBS1hyvQ7C6N/1vLe/dU4jTk/wO0kN2afTjHiPmpvtFmfg9BRot0SouyeBxAglPv2qG LbWxcSchfMT5IzGTIMK+LNikrtB3pJ8L9jwHjoZcS+2HsQtSZZAG3uP1i8U8uyRb5yYk AoDJJMMC0RO0ztWzw/0KUI7EAG8bEsJfUQGihwZ8A4EesfukU7ETGTmkozWMMh6WY3IC nFWA== 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=fHlvVCqPSvIqr2VI+JMj/d4p8FlUlBcs0rrEdgObXbc=; b=BMZRDwLG8kRvRkyRllgcP8f63b73tK5pmch5HQMO5quy076yiuzB0oTimHvos4AnGG ZIXCKI/I3SqGGfxznfKFDW8qq61rwNRJr8PjsJSyh0VVno//o1glJzi2nWmRI0uNacc3 DyygV3l8n5tPkNkLfgXR4Xx5HRxmHXzDHDBPLKO2cyA2x//S8kr0ztBaQ/M1yFbswjR3 0P5ZtXofjYpLFrdnhxmokZR7oaHPaMV6kR7S98RBmFp6oIbJOYQQEXRGmojjBnlTt/lp oanhVMloCqv4s1XYC4TWUPN5Rh4i5mh9t7yZLAdBY02JbPlIwqlyny+akecjgDPU9C21 G7xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Ql1FbgE9; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d81-v6si21032323pfm.40.2018.10.08.07.49.35; Mon, 08 Oct 2018 07:49:50 -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=@google.com header.s=20161025 header.b=Ql1FbgE9; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726617AbeJHWAK (ORCPT + 99 others); Mon, 8 Oct 2018 18:00:10 -0400 Received: from mail-io1-f49.google.com ([209.85.166.49]:33508 "EHLO mail-io1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbeJHWAK (ORCPT ); Mon, 8 Oct 2018 18:00:10 -0400 Received: by mail-io1-f49.google.com with SMTP id l25-v6so16075175ioj.0 for ; Mon, 08 Oct 2018 07:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fHlvVCqPSvIqr2VI+JMj/d4p8FlUlBcs0rrEdgObXbc=; b=Ql1FbgE9n9g64+sCump9uc0SJvjuliTxzxwWqKfICszKvZNsdBNh8MVfv6JBdVaiWb PkUEJuhzoQfeytPppRh9Aeen1LBGwlZ53Bhv37YSkAN7LAj+nySHDUbUy9MCOeVCJ067 k/s9VymKF87KQrFYMbaRwMqto2ALvh/FYdvJzuVHp6melUv9K/j7+UCPxt24m+tTqp/m hw3UpGx5Q3CdGj2IAI8s0RKUbBdAndbppt5Xo7A6Oawn2Dkflx+ieUW/sH83sPocDOOd mPCb/IBapSEKt7MfjrgscXLuu9KRgxCqQmcwTxDJwbvbgOe1N5NOwbSwQJX8YoKqB0f1 HcVQ== 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=fHlvVCqPSvIqr2VI+JMj/d4p8FlUlBcs0rrEdgObXbc=; b=opqXHQFC+DMwJJyqpFGno/aL74U0hRHlL9fM19/qDkoTidipUPyPQecCl9AkMVyemB 4eD0NRy8AQpvnFIGWsZGBGNygdSc7MRR5O54DYSxAWlOEvuMXu3oh04Z2S5agdD3daLw xIqWNxfpdbbfzsuLG1bqFhLVaoBVP+XkU0tyLcleMvYsuyI255JG6EkRylpkYFLRPs9u bH+cvqTPSNk+FV2tZjYUa2RGMOja2s5V5NQdhwhtgWGTd5e7cwjdk6VrEykQXO9sJoyQ X7iLHsqCbtQaMV8m8LsSBjAVWLdu7e0Uh5d8SfAVS2KdUvqzE14ruB+XUDMtp7Atmyms VWZQ== X-Gm-Message-State: ABuFfois4uJW+Ien0tnHkEg6Q6dP+TelILtR/gumDsZgoqBalw8fSSTl Sr9RpHcnU/p285us//MntotWbu54Cu8GWk7p968Q8/+l7An1jg== X-Received: by 2002:a6b:500e:: with SMTP id e14-v6mr17492677iob.73.1539010084305; Mon, 08 Oct 2018 07:48:04 -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: Eric Dumazet Date: Mon, 8 Oct 2018 07:47:52 -0700 Message-ID: Subject: Re: [PATCH v2 net-next] inet: do not set backlog if listen fails To: Yafang Shao 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 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...