e1000e: use dev_kfree_skb_irq() instead of dev_kfree_skb()
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 10 Feb 2011 08:17:21 +0000 (08:17 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 11 Mar 2011 09:51:58 +0000 (01:51 -0800)
commitef5ab89cf7edc2e2cb996d62201a2b356d5e9286
treef61fe87f93fd32c03a2f53a78a41f68aff5df49b
parent23633b13ff7e1e1380bd2e11c49eb5ddbdf37ea9
e1000e: use dev_kfree_skb_irq() instead of dev_kfree_skb()

Based on a report and patch originally submitted by Prasanna Panchamukhi.

Use dev_kfree_skb_irq() in e1000_clean_jumbo_rx_irq() since this latter
function is called only in interrupt context.  This avoids "Warning:
kfree_skb on hard IRQ" messages.

Cc: "Prasanna S. Panchamukhi" <prasanna.panchamukhi@riverbed.com>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/e1000e/netdev.c