On Mon, 2014-03-24 at 23:05 -0700, Eric W. Biederman wrote:
From: "Eric W. Biederman" <redacted>
Replace dev_kfree_skb with dev_consume_skb_any in xgmac_tx_complete
that can be called in hard irq and other contexts.
Replace dev_kfree_skb with dev_kfree_skb_any in xgmac_xmit that can
be called in hard irq and other contexts.
dev_consume_skb_any is used in xgamc_tx_complete as skbs that reach
there have been successfully transmitted, dev_kfree_skby_any is used
in xgmac_xmit as skbs that are freed there are being dropped.
Signed-off-by: "Eric W. Biederman" <redacted>
---
drivers/net/ethernet/calxeda/xgmac.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Acked-by: Eric Dumazet <redacted>