|
@@ -3236,8 +3236,9 @@ bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget)
|
|
|
|
|
|
|
|
skb->protocol = eth_type_trans(skb, bp->dev);
|
|
skb->protocol = eth_type_trans(skb, bp->dev);
|
|
|
|
|
|
|
|
- if ((len > (bp->dev->mtu + ETH_HLEN)) &&
|
|
|
|
|
- (ntohs(skb->protocol) != 0x8100)) {
|
|
|
|
|
|
|
+ if (len > (bp->dev->mtu + ETH_HLEN) &&
|
|
|
|
|
+ skb->protocol != htons(0x8100) &&
|
|
|
|
|
+ skb->protocol != htons(ETH_P_8021AD)) {
|
|
|
|
|
|
|
|
dev_kfree_skb(skb);
|
|
dev_kfree_skb(skb);
|
|
|
goto next_rx;
|
|
goto next_rx;
|