This function will free all the transmit skbs that are actually transmitted by the device. It will check the ownership of the skb before freeing the skb.
@@ -764,7 +755,7 @@ static int amd8111e_rx_poll(struct napi_struct *napi, int budget)
#if AMD8111E_VLAN_TAG_USED
vtag=status&TT_MASK;
/*MAC will strip vlan tag*/
if(lp->vlgrp!=NULL&&vtag!=0)
if(vtag!=0)
min_pkt_len=MIN_PKT_LEN-4;
else
#endif
@@ -799,10 +790,10 @@ static int amd8111e_rx_poll(struct napi_struct *napi, int budget)