|
@@ -3545,7 +3545,7 @@ static int niu_process_rx_pkt(struct napi_struct *napi, struct niu *np,
|
|
|
rp->rcr_index = index;
|
|
|
|
|
|
skb_reserve(skb, NET_IP_ALIGN);
|
|
|
- __pskb_pull_tail(skb, min(len, NIU_RXPULL_MAX));
|
|
|
+ __pskb_pull_tail(skb, min(len, VLAN_ETH_HLEN));
|
|
|
|
|
|
rp->rx_packets++;
|
|
|
rp->rx_bytes += skb->len;
|