Skip to content
Commit c99abc8b authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

sun4i-emac: Call dev_consume_skb_any instead of dev_kfree_skb.



Replace dev_kfree_skb with dev_consume_skb_any in emacs_start_xmit
which can be called in hard irq and other contexts.

emac_start_xmit always transmits the packet making dev_consume_skb
the appropriate function to call.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 21534d20
Loading
Loading
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