]> git.baikalelectronics.ru Git - kernel.git/commit
bfin_mac: Call dev_consume_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 15 Mar 2014 22:37:24 +0000 (15:37 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 24 Mar 2014 22:25:30 +0000 (15:25 -0700)
commitcabdb2cab469488e5c9b7e7d2bd7ae6bf837ea59
tree8f0910cc855e2dba52c1228532a991f1a52a1d17
parentb8e36adc671b72a75dda62dcf305c9f58698ceba
bfin_mac: Call dev_consume_skb_any instead of dev_kfree_skb.

Replace dev_kfree_skb with dev_consume_skb_any in _tx_reclaim_skb that
can be called in hard irq and other contexts.

dev_consume_skb is used as _tx_reclaim_skb is called after a packet
has been successfully transmitted.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
drivers/net/ethernet/adi/bfin_mac.c