|
|
|
@ -502,7 +502,7 @@ static int cpmac_start_xmit(struct sk_buff *skb, struct net_device *dev) |
|
|
|
|
|
|
|
|
|
if (unlikely(skb_padto(skb, ETH_ZLEN))) { |
|
|
|
|
if (netif_msg_tx_err(priv) && net_ratelimit()) |
|
|
|
|
printk(KERN_WARNING "%s: tx: padding failed, dropping\n", |
|
|
|
|
printk(KERN_WARNING"%s: tx: padding failed, dropping\n", |
|
|
|
|
dev->name); |
|
|
|
|
spin_lock_irqsave(&priv->lock, flags); |
|
|
|
|
priv->stats.tx_dropped++; |
|
|
|
|