From patchwork Thu Jun 10 17:34:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12313655 X-Patchwork-Delegate: kuba@kernel.org 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 2774EC47094 for ; Thu, 10 Jun 2021 17:36:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0FA2F61285 for ; Thu, 10 Jun 2021 17:36:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbhFJRiO (ORCPT ); Thu, 10 Jun 2021 13:38:14 -0400 Received: from mail-ed1-f53.google.com ([209.85.208.53]:33389 "EHLO mail-ed1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231249AbhFJRiJ (ORCPT ); Thu, 10 Jun 2021 13:38:09 -0400 Received: by mail-ed1-f53.google.com with SMTP id f5so28995074eds.0 for ; Thu, 10 Jun 2021 10:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bq2sTXppE3vWWf+YO0inT3m8fFWkaJHkeJaZb/ltFJc=; b=EqVeHkawKUlQeK3u4vmA8e1+lJE7dOGJmYaDuthmtkXF94DkRt2XkAFHVRnYunzm2j mFdAG3z5LLZj5d4Ai1OgTojuLDNHWwruVg59pszGyFIfZuA6ApOBwvgZOatgv4370qmt OHDq575GlDZH2AwDzeZw/N09I4WftffygPWNt9+HaI/fKHJHpwFNrKp2CtbvqrvTZq7O w1JmWvJ/y8kmzqMkeg46qoqbB8wifUrnlom1ANoOZLMlIjo/n1X3ALN1KJQ3NEOJ4REz 7vXaIXEX4Xe89Hqg/armPaQ99fNXdlhqzSKstMZGpTf0IpJe79Kfcorpb5eDAf5bRvHh 20rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bq2sTXppE3vWWf+YO0inT3m8fFWkaJHkeJaZb/ltFJc=; b=ctWWq4L1ttnfSFmf7o//qjLn4FZFcmcicEtW/Tf8/wmLvPyA6FGMW3gmcRyf2zysVL SHyRsYNr/FB8hZI4VHP4mkfgolJQbk6MjD3t+AezXU5Tr3H/SqrobDlJ2ymo6cNeY6wf M/qG/UEzYhcKsAl5fr5yQkvdRNEeafnBzjsKaVilKpC/XV9KXXGbqz1tpWsdSN6iXyyh vlqOXbgNkl9nnisG00CzBB6kf5ysf/2jrDE26oJHBuNx/Z7go4+ApUiE58V20WKHpd+Z 5xVbZgCNxQV42DA81jirVOwVZ0tgcQs0ChjuaAhBOec7wE77mef/FneXEbymoeK4sb6y W+nA== X-Gm-Message-State: AOAM532U0kavrneFnBPv/9C/gWBBEmYbpnb1ADN5CaDxguEfHmRcskWJ T7J6eRmtPCn1XjPVjdzXz2k= X-Google-Smtp-Source: ABdhPJzqcru3GYNLjrBEGKeuvOvSahTcaipxK9+1uaj1tUHCvYm1a+wLwl5GJTF+k1OkgU14FY2Vgw== X-Received: by 2002:a50:a446:: with SMTP id v6mr634018edb.254.1623346502349; Thu, 10 Jun 2021 10:35:02 -0700 (PDT) Received: from localhost.localdomain ([188.26.52.84]) by smtp.gmail.com with ESMTPSA id g17sm1789595edp.14.2021.06.10.10.35.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 10:35:02 -0700 (PDT) From: Vladimir Oltean To: Jakub Kicinski , "David S. Miller" , netdev@vger.kernel.org Cc: Florian Fainelli , Andrew Lunn , Vivien Didelot , Richard Cochran , Vladimir Oltean Subject: [PATCH net-next 04/10] net: dsa: tag_sja1105: stop resetting network and transport headers Date: Thu, 10 Jun 2021 20:34:19 +0300 Message-Id: <20210610173425.1791379-5-olteanv@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210610173425.1791379-1-olteanv@gmail.com> References: <20210610173425.1791379-1-olteanv@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Vladimir Oltean This makes no sense and is not needed, it is probably a debugging leftover. Signed-off-by: Vladimir Oltean --- net/dsa/tag_sja1105.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/dsa/tag_sja1105.c b/net/dsa/tag_sja1105.c index ff4a81eae16f..92e147293acf 100644 --- a/net/dsa/tag_sja1105.c +++ b/net/dsa/tag_sja1105.c @@ -307,8 +307,6 @@ static struct sk_buff *sja1105_rcv(struct sk_buff *skb, __skb_vlan_pop(skb, &tci); } skb_pull_rcsum(skb, ETH_HLEN); - skb_reset_network_header(skb); - skb_reset_transport_header(skb); vid = tci & VLAN_VID_MASK; source_port = dsa_8021q_rx_source_port(vid);