summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/brocade
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2014-03-15 15:58:10 -0700
committerEric W. Biederman <ebiederm@xmission.com>2014-03-24 21:18:54 -0700
commit07641c8fa45774d5e99f4bdc8c37a7d174a2e973 (patch)
treeab0bf0b68762265c17c3766489ec2285f527c99a /drivers/net/ethernet/brocade
parent548ff1ed7d251a5de40e2dfb3ec5f317ee834082 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/brocade')
0 files changed, 0 insertions, 0 deletions