From patchwork Fri Jun 11 19:01:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12316429 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.8 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,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 BFAF0C48BE6 for ; Fri, 11 Jun 2021 19:03:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A89D3613C6 for ; Fri, 11 Jun 2021 19:03:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231572AbhFKTFG (ORCPT ); Fri, 11 Jun 2021 15:05:06 -0400 Received: from mail-ed1-f51.google.com ([209.85.208.51]:33789 "EHLO mail-ed1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231562AbhFKTFD (ORCPT ); Fri, 11 Jun 2021 15:05:03 -0400 Received: by mail-ed1-f51.google.com with SMTP id f5so33263007eds.0 for ; Fri, 11 Jun 2021 12:02:48 -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=f70SAejO+Q4VbHsqvG9aO26yfEE3LyWRNlJZYPpxB/Q=; b=F9XBBtLbdY35GvicfU+Gwt85ee7SRZm6TkhSe9oMPqOBFG04Wt9SUKOJYXjyrwO5NT lzfqc2gxzNNJmL5GD1W2hdFVw0waZok8X+i+he0oxCUVyS4dTsrMRJoGkXZiuD6qWUG6 Yh1tfCE/3iNZ74IJ+aqkT7xVUA1hRbsmlgrHJOTze00/o/KmLMXDdfpkLE7vQZMRD52t he48Nt/uYK75tu2edAMeCcXrnyF57d3zGPcsIQ8Scx1DoKcEUzk+q0wsG+XFi+HiIkpB tqCrxccvaPEkPFExVogla4o+IaPn0VzAzD87iMwTGkEKKbhX3i7jIkcnCt+V5Xrf/tHx bULw== 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=f70SAejO+Q4VbHsqvG9aO26yfEE3LyWRNlJZYPpxB/Q=; b=IzSPvm+24ILQEmaBSHKnDMfXZpKmZpTJXpW9RCnqv0VIQT/rpvMHY4KtKpTM2dFjuZ MKhYIqF7Kp7kNvNbMQ1U15wwe2PhgMdf1mVBhzOhWu2KXH6DDSB6Un8F2ta6ZX8787Ji 5+dEGK6B3NAF3mhYuoJgOORBMQ6efwy/BDjf7h4O2+pyFoSYGrBkJQCK+nrmk/gCKkns 2iUEZzbHi0FT/O76lzUmfw1qwRQt3/r9I2J2eSXxa1s7rE/QCNgrEhoFNIb1xfjBG+hI QoVdi8Q120JckP+yy1FTh63MqVdAookFiw3YrcjiXDZtWvOsBtugSJJD4zM1KJ3W9zC1 sTZg== X-Gm-Message-State: AOAM533aqDCkOjxXcV8MUcIwoYiq/I9XK0qCxVvFUsG2TmKnaQYj6t3G DcoBOB0NwP0o/Ot08CP/Yuc= X-Google-Smtp-Source: ABdhPJwcUtQHbog8gOPOSopbpFUpzlH72u4dg3j20z3l3EHQpzqb6YejXBB/71IfK7cYB8Oki5vZhg== X-Received: by 2002:a05:6402:144d:: with SMTP id d13mr5050037edx.288.1623438107783; Fri, 11 Jun 2021 12:01:47 -0700 (PDT) Received: from localhost.localdomain ([188.26.52.84]) by smtp.gmail.com with ESMTPSA id c19sm2922016edw.10.2021.06.11.12.01.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 12:01:47 -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 v3 net-next 04/10] net: dsa: tag_sja1105: stop resetting network and transport headers Date: Fri, 11 Jun 2021 22:01:25 +0300 Message-Id: <20210611190131.2362911-5-olteanv@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210611190131.2362911-1-olteanv@gmail.com> References: <20210611190131.2362911-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 --- v2->v3: none v1->v2: none 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);