]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmfe: Call dev_kfree/consume_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 15 Mar 2014 23:59:27 +0000 (16:59 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:19:00 +0000 (21:19 -0700)
commit086dfb7fadde4400f1473e7e818abf833f0e06c4
treee9f36581d56fefddc5ecf1882ab5b7e62696f23d
parent2c3d0bc0278746a073aadd6e2af6794adcc1e7d7
dmfe: Call dev_kfree/consume_skb_any instead of dev_kfree_skb.

Replace dev_kfree_skb with dev_kfree_skb_any in dmfe_start_xmit that
can be called in hard irq and other contexts, when the packet is
dropped.

Replace dev_kfree_skb with dev_consume_skb_any in dmfe_start_xmit that
can be called in hard irq and other contexts, when the packet is
transmitted.

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