OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e50025
)
net: dsa: tag_sja1105: stop resetting network and transport headers
author
Vladimir Oltean
<vladimir.oltean@nxp.com>
Fri, 11 Jun 2021 19:01:25 +0000
(22:01 +0300)
committer
David S. Miller
<davem@davemloft.net>
Fri, 11 Jun 2021 19:45:38 +0000
(12:45 -0700)
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>
net/dsa/tag_sja1105.c
patch
|
blob
|
history
diff --git
a/net/dsa/tag_sja1105.c
b/net/dsa/tag_sja1105.c
index
ff4a81e
..
92e1472
100644
(file)
--- 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);