uml/net_kern: Call dev_consume_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 15 Mar 2014 22:27:14 +0000 (15:27 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 24 Mar 2014 22:13:35 +0000 (15:13 -0700)
commitfabfb91d50d65b5cb8835a231d7e2a0e7de6e539
treef3250e4938ded2c6498d82a2881b8598428c55d6
parent35d499ee3a63b645f355d98dc407b22751896a43
uml/net_kern: Call dev_consume_skb_any instead of dev_kfree_skb.

Replace dev_kfree_skb with dev_consume_skb_any in uml_net_start_xmit
as it can be called in hard irq and other contexts.

dev_consume_skb_any is used as uml_net_start_xmit typically
consumes (not drops) packets.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/um/drivers/net_kern.c