From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D739C54FCE for ; Mon, 23 Mar 2020 18:22:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 162A82051A for ; Mon, 23 Mar 2020 18:22:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.co.jp header.i=@amazon.co.jp header.b="eDSmCKna" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727536AbgCWSW5 (ORCPT ); Mon, 23 Mar 2020 14:22:57 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:35191 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725880AbgCWSW4 (ORCPT ); Mon, 23 Mar 2020 14:22:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.co.jp; i=@amazon.co.jp; q=dns/txt; s=amazon201209; t=1584987776; x=1616523776; h=from:to:cc:subject:date:message-id:mime-version; bh=nAIpt6DregPHZOfbgE7ffB/nutEY32Bh8o7oyxzRlSM=; b=eDSmCKnacFf4LbkPsDezqcPR96ZV3BI0hwZDaHhqCHb6P9lPq9QwNL3X ks7FHh/p34OEySFHMem/QmTMFpHRADhfPjPY1/G1wHW8rH4VOn+fvJafS LJ6dsv3NKfcemiOYJi6aTlk7wJxrFQ8Aj8lLmFWmeKMA6+RW3VwKGPhFO 0=; IronPort-SDR: wgYtHKNkTh4SCmXXG0gZt2PUoh0GYbsU3zCx8zszXCkE4ifTw5QwcsJeXUGbxp7ckFj7u3yU4P tBbDTmBgaQZA== X-IronPort-AV: E=Sophos;i="5.72,297,1580774400"; d="scan'208";a="23825892" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2a-6e2fc477.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 23 Mar 2020 18:18:26 +0000 Received: from EX13MTAUWA001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2a-6e2fc477.us-west-2.amazon.com (Postfix) with ESMTPS id 460EBA2377; Mon, 23 Mar 2020 18:18:25 +0000 (UTC) Received: from EX13D04ANC001.ant.amazon.com (10.43.157.89) by EX13MTAUWA001.ant.amazon.com (10.43.160.118) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 23 Mar 2020 18:18:24 +0000 Received: from 38f9d3582de7.ant.amazon.com (10.43.160.101) by EX13D04ANC001.ant.amazon.com (10.43.157.89) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 23 Mar 2020 18:18:20 +0000 From: Kuniyuki Iwashima To: "David S . Miller" , Jakub Kicinski , Eric Dumazet , Gerrit Renker , Alexey Kuznetsov , "Hideaki YOSHIFUJI" CC: , , Kuniyuki Iwashima , Kuniyuki Iwashima , Subject: [PATCH net-next 0/2] tcp/dccp: Cleanup initialisation code of refcounted. Date: Tue, 24 Mar 2020 03:18:12 +0900 Message-ID: <20200323181814.87661-1-kuniyu@amazon.co.jp> X-Mailer: git-send-email 2.17.2 (Apple Git-113) MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.101] X-ClientProxiedBy: EX13D03UWA003.ant.amazon.com (10.43.160.39) To EX13D04ANC001.ant.amazon.com (10.43.157.89) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org These patches cleanup initialisation of the refcounted which is passed to __inet_lookup_skb(). Kuniyuki Iwashima (2): tcp/dccp: Move initialisation of refcounted into if block. tcp/dccp: Remove unnecessary initialization of refcounted. include/net/inet6_hashtables.h | 11 +++++++---- include/net/inet_hashtables.h | 11 +++++++---- net/dccp/ipv4.c | 1 - net/dccp/ipv6.c | 1 - net/ipv4/tcp_ipv4.c | 1 - net/ipv6/tcp_ipv6.c | 1 - 6 files changed, 14 insertions(+), 12 deletions(-) -- 2.17.2 (Apple Git-113) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kuniyuki Iwashima Date: Mon, 23 Mar 2020 18:18:12 +0000 Subject: [PATCH net-next 0/2] tcp/dccp: Cleanup initialisation code of refcounted. Message-Id: <20200323181814.87661-1-kuniyu@amazon.co.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: dccp@vger.kernel.org These patches cleanup initialisation of the refcounted which is passed to __inet_lookup_skb(). Kuniyuki Iwashima (2): tcp/dccp: Move initialisation of refcounted into if block. tcp/dccp: Remove unnecessary initialization of refcounted. include/net/inet6_hashtables.h | 11 +++++++---- include/net/inet_hashtables.h | 11 +++++++---- net/dccp/ipv4.c | 1 - net/dccp/ipv6.c | 1 - net/ipv4/tcp_ipv4.c | 1 - net/ipv6/tcp_ipv6.c | 1 - 6 files changed, 14 insertions(+), 12 deletions(-) -- 2.17.2 (Apple Git-113)