gianfar: Carefully free skbs in functions called by netpoll.
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 11 Mar 2014 21:20:26 +0000 (14:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 20:22:13 +0000 (16:22 -0400)
commitc9974ad4aeb36003860100221a594f3c0ccc3f78
treea7217a3be0171a0b78a474e0dbb2401675882f2a
parentd8ec2c02caa3515f35d6c33eedf529394c419298
gianfar: Carefully free skbs in functions called by netpoll.

netpoll can call functions in hard irq context that are ordinarily
called in lesser contexts.  For those functions use dev_kfree_skb_any
and dev_consume_skb_any so skbs are freed safely from hard irq
context.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c