Commit d2e91bb5 authored by David S. Miller's avatar David S. Miller

[SUNGEM]: Use dev_kfree_skb_irq() for TX.

gem_tx() is always invoked with IRQs disabled.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ef0a5bdd
...@@ -651,7 +651,7 @@ static __inline__ void gem_tx(struct net_device *dev, struct gem *gp, u32 gem_st ...@@ -651,7 +651,7 @@ static __inline__ void gem_tx(struct net_device *dev, struct gem *gp, u32 gem_st
} }
gp->net_stats.tx_packets++; gp->net_stats.tx_packets++;
dev_kfree_skb_any(skb); dev_kfree_skb_irq(skb);
} }
gp->tx_old = entry; gp->tx_old = entry;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment