Skip to content
Snippets Groups Projects
Commit f5cf76ba authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

xgmac: Call dev_kfree/consume_skb_any instead of dev_kfree_skb.


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: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent c88b5b6a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment