|
@@ -2295,7 +2295,7 @@ static netdev_tx_t i40e_xmit_frame_ring(struct sk_buff *skb,
|
|
goto out_drop;
|
|
goto out_drop;
|
|
|
|
|
|
/* obtain protocol of skb */
|
|
/* obtain protocol of skb */
|
|
- protocol = skb->protocol;
|
|
|
|
|
|
+ protocol = vlan_get_protocol(skb);
|
|
|
|
|
|
/* record the location of the first descriptor for this packet */
|
|
/* record the location of the first descriptor for this packet */
|
|
first = &tx_ring->tx_bi[tx_ring->next_to_use];
|
|
first = &tx_ring->tx_bi[tx_ring->next_to_use];
|