forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/net/bridge/br_forward.c
....@@ -43,7 +43,7 @@
4343 skb->protocol == htons(ETH_P_8021AD))) {
4444 int depth;
4545
46
- if (!__vlan_get_protocol(skb, skb->protocol, &depth))
46
+ if (!vlan_get_protocol_and_depth(skb, skb->protocol, &depth))
4747 goto drop;
4848
4949 skb_set_network_header(skb, depth);