8139cp: Use dev_kfree_skb_any() instead of dev_kfree_skb() in cp_clean_rings()
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 17 Sep 2015 23:19:08 +0000 (00:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2015 05:23:40 +0000 (22:23 -0700)
commitfc27bd115b334e3ebdc682a42a47c3aea2566dcc
treeec1f595dae620e48ba426fd78fd548f94c7b8feb
parent0315e382704817b279e5693dca8ab9d89aa20b3f
8139cp: Use dev_kfree_skb_any() instead of dev_kfree_skb() in cp_clean_rings()

This can be called from cp_tx_timeout() with interrupts disabled.
Spotted by Francois Romieu <romieu@fr.zoreil.com>

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/8139cp.c