Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp723115ybl; Fri, 31 Jan 2020 06:56:10 -0800 (PST) X-Google-Smtp-Source: APXvYqz1GsiuMRHqo2rn0dsDdRQkzCWoIhR1+Y1FY1tWzEW75k5EZi7Hpz/4CyzoUaYPRjc2WeuD X-Received: by 2002:aca:d483:: with SMTP id l125mr6362856oig.124.1580482570782; Fri, 31 Jan 2020 06:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580482570; cv=none; d=google.com; s=arc-20160816; b=L9RqDuSMoX929S5AMY/G4dP+nmvRj+69DbzQUE/M7ZOT7QMfx31u6JJsOrznfx8Nra IFVfgUB3P+C4A+e+uBjUabyDkJRD0phhqFkiHE8PZtZXeZVvD0+8ScXlvDNQmJXwPIR4 EFwHwfyHNo5sGciaWZuGaVPD362J0Hc8BbavTWwVKlXRc2g+XwXBnwtwoKhjZyhOhnCz fztBwXBC67yt8urjgCbRR1tQu46HhjhnpcDuxTg/lJ8DSGpJKWyNSySeM5+URbtnsrMs 8pqHBiAytkZCGd+PrX0Mw6wfSsEqbQKT6Yj0Rh3kC7/JmVyNkMeXD8dGpofxdXnB0VNN FN5g== 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=SDj5kNjMiLc1TNHQMyijHY5lqlqUv2q9y5ctnKAZRBM=; b=rzi59XyhT1mQ6o6JJAV9BHxqGdg2Kejp5du3Xbi+7SFiSdX2bgIO8/bYEJi1bETN/L VXTwy6Z/QgUyycka8EYz6lB9+hHXMaqHsfjPPsrnUpVvQxJ6tOc98X9T+9r7GAps0kc3 M1Jr1oc4ASNKFgbqDPuIrjb7c70YQ9RJbLlJtUg+x5IkWe8JFY5haLjgTLO/ZobrcsN3 VonxKAoe9jZ2tl/UpxCVUDEkm00I/CYwYOcDYRv/78C42ord93nRzQ04Zi22CHMEnbWv qNtV6WXI0scpYdrMVhmMJaPR2LSSyT6ZCEcFIQkGtpYgSiJcCAEAjRSB+Wc91U0p7RRg zpDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=bqZKRFmy; 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 w20si4460874oic.103.2020.01.31.06.55.58; Fri, 31 Jan 2020 06:56:10 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=bqZKRFmy; 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 S1729128AbgAaOzG (ORCPT + 99 others); Fri, 31 Jan 2020 09:55:06 -0500 Received: from mail-yw1-f67.google.com ([209.85.161.67]:36387 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729001AbgAaOzF (ORCPT ); Fri, 31 Jan 2020 09:55:05 -0500 Received: by mail-yw1-f67.google.com with SMTP id n184so4937639ywc.3 for ; Fri, 31 Jan 2020 06:55:05 -0800 (PST) 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=SDj5kNjMiLc1TNHQMyijHY5lqlqUv2q9y5ctnKAZRBM=; b=bqZKRFmycIWRiGhpMQzPAIBZjoFVrYuo2SZLTiBQn9hk3BIfxPOgtiasQqrKsz2M5R xcr70sdeXtlmRgqAkxi4MwwCCGAkJhHqVAsDAT18gQB8K95aCL2+v7W3tf6GiQuTk9wx zSsFPc/QZmAsiQnT6xuRc+WOhhu4GLqhGs9PXg0H7dCfbwXXOUvKNyrwN6IBwhS4kjJP xqgIEUk70E2YY22PIZpKwKrFtorhvE2J/tl5xnCl5++MsQJJfl74Og7nGC7EhicDGutJ s6D889kI9JFG1is8ZQK56+B9Cjutnn92mtrnjX6fCu2blz9jNuBePoRzER6x6s+DTbFF UPKA== 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=SDj5kNjMiLc1TNHQMyijHY5lqlqUv2q9y5ctnKAZRBM=; b=ukOVcbhblC0UiJ9S0sahjqIT+bijjRVjdV0pNDBiOFLtL8gaNeF1I/j4GJieIbxiQZ rCfWOS2VEkXMd2gsiAXCda3Ueyi7b6OhLc+bPHuzwsaQ1vOf5Fpto0Z7wktYxIMGEOyn pE2TxEjVXM3ety+jxMBrZQUxVWQZQfhIt7VjEJfKc0Ydj+xH151gSiOQ4LWOYuozlgZh JTKsxwZ4E8zmdNTmuHvNTcWNTpYdu57vanWlShoh1u7LRhuDgxZWY9uRVzj4f2JbVWwV ECEV1I5lqmsAE1jSUSv0A/h+7IbRWlKqgSOripsjswlvs6/VLG7ifuu3MDdaCqcy9EiK 5qPg== X-Gm-Message-State: APjAAAUqVbok6nAJSEWVhpGwBaY01R3ViV7N0pXzdgrWrzpGsEDSbrDX +At+5zaRCQnnUwMQukqSvAmbMF06u/1jLW2R9NvBfw== X-Received: by 2002:a25:d112:: with SMTP id i18mr8262683ybg.364.1580482504570; Fri, 31 Jan 2020 06:55:04 -0800 (PST) MIME-Version: 1.0 References: <20200131122421.23286-1-sjpark@amazon.com> <20200131122421.23286-2-sjpark@amazon.com> In-Reply-To: <20200131122421.23286-2-sjpark@amazon.com> From: Eric Dumazet Date: Fri, 31 Jan 2020 06:54:53 -0800 Message-ID: Subject: Re: [PATCH 1/3] net/ipv4/inet_timewait_sock: Fix inconsistent comments To: sjpark@amazon.com Cc: David Miller , Shuah Khan , netdev , "open list:KERNEL SELFTEST FRAMEWORK" , LKML , sj38.park@gmail.com, aams@amazon.com, SeongJae Park 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 Fri, Jan 31, 2020 at 4:24 AM wrote: > > From: SeongJae Park > > Commit ec94c2696f0b ("tcp/dccp: avoid one atomic operation for timewait > hashdance") mistakenly erased a comment for the second step of > `inet_twsk_hashdance()`. This commit restores it for better > readability. > > Signed-off-by: SeongJae Park > --- > net/ipv4/inet_timewait_sock.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c > index c411c87ae865..fbfcd63cc170 100644 > --- a/net/ipv4/inet_timewait_sock.c > +++ b/net/ipv4/inet_timewait_sock.c > @@ -120,6 +120,7 @@ void inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk, > > spin_lock(lock); > > + /* Step 2: Hash TW into tcp ehash chain. */ This comment adds no value, please do not bring it back. net-next is closed, now is not the time for cosmetic changes. Also take a look at Documentation/networking/netdev-FAQ.rst