Commit baa3ad08 authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

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: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4e500251
...@@ -307,8 +307,6 @@ static struct sk_buff *sja1105_rcv(struct sk_buff *skb, ...@@ -307,8 +307,6 @@ static struct sk_buff *sja1105_rcv(struct sk_buff *skb,
__skb_vlan_pop(skb, &tci); __skb_vlan_pop(skb, &tci);
} }
skb_pull_rcsum(skb, ETH_HLEN); skb_pull_rcsum(skb, ETH_HLEN);
skb_reset_network_header(skb);
skb_reset_transport_header(skb);
vid = tci & VLAN_VID_MASK; vid = tci & VLAN_VID_MASK;
source_port = dsa_8021q_rx_source_port(vid); source_port = dsa_8021q_rx_source_port(vid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment