projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: add vlan_get_protocol_and_depth() helper
[platform/kernel/linux-starfive.git]
/
net
/
core
/
dev.c
diff --git
a/net/core/dev.c
b/net/core/dev.c
index
735096d
..
b3c13e0
100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-3335,7
+3335,7
@@
__be16 skb_network_protocol(struct sk_buff *skb, int *depth)
type = eth->h_proto;
}
- return
__vlan_get_protocol
(skb, type, depth);
+ return
vlan_get_protocol_and_depth
(skb, type, depth);
}
/* openvswitch calls this on rx path, so we need a different check.