hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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);