diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-06-11 22:01:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-11 22:45:38 +0300 |
commit | baa3ad08de6d44a40b94ef1a65640b5076755f9d (patch) | |
tree | bdc3d9c4ead44f90d4ad7847e9e19c1707f297e6 /net/dsa/tag_sja1105.c | |
parent | 4e50025129efabb07714c1f27a80526897da374b (diff) |
net: dsa: tag_sja1105: stop resetting network and transport headers
This makes no sense and is not needed, it is probably a debugging
leftover.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/tag_sja1105.c')
-rw-r--r-- | net/dsa/tag_sja1105.c | 2 |
1 files changed, 0 insertions, 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); |