linux_dsm_epyc7002/drivers/net/ethernet/atheros/atl1c
Eric W. Biederman 07641c8fa4 atl1c: Call dev_kfree/consume_skb_any instead of dev_kfree_skb.
The call path: atl1c_xmit_frame, atlc_tx_rollback, atl1c_clean_buffer
can not be tell at compile time if it will be invoked from hard irq
or other context, as atl1c_xmit_frame does not know.  So remove
the logic that  passes the compile time knowledge into al1c_clean_buffer
and figure out it out at runtime with dev_consume_skb_any.

Replace dev_kfree_skb with dev_kfree_skb_any in atl1c_xmit_frame that
can be called in hard irq and other contexts.

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

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2014-03-24 21:18:54 -07:00
..
atl1c_ethtool.c atl1c: refine SERDES-clock related code 2012-04-26 05:03:32 -04:00
atl1c_hw.c net: atl1c: Change variable type to bool 2013-10-03 15:40:33 -04:00
atl1c_hw.h atl1c: fix issue of io access mode for AR8152 v2.1 2012-07-20 11:21:18 -07:00
atl1c_main.c atl1c: Call dev_kfree/consume_skb_any instead of dev_kfree_skb. 2014-03-24 21:18:54 -07:00
atl1c.h drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
Makefile