aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-05-15 05:18:55 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-06-02 03:04:19 -0400
commit281a8f2462fe3cd2395902955205621e2c519464 (patch)
tree55f7fad8feb591551cd0a52365080f9c6021f003
parentad1be8d345416a794dea39761a374032aa471a76 (diff)
e1000: look into the page instead of skb->data for e1000_tbi_adjust_stats()
This is another fixup where the data is not transfered into buffer addressed by skb->data but into a page. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/e1000/e1000_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c b/drivers/net/ethernet/intel/e1000/e1000_main.c
index 95731c841044..7483ca0a6282 100644
--- a/drivers/net/ethernet/intel/e1000/e1000_main.c
+++ b/drivers/net/ethernet/intel/e1000/e1000_main.c
@@ -4080,7 +4080,7 @@ static bool e1000_clean_jumbo_rx_irq(struct e1000_adapter *adapter,
4080 spin_lock_irqsave(&adapter->stats_lock, 4080 spin_lock_irqsave(&adapter->stats_lock,
4081 irq_flags); 4081 irq_flags);
4082 e1000_tbi_adjust_stats(hw, &adapter->stats, 4082 e1000_tbi_adjust_stats(hw, &adapter->stats,
4083 length, skb->data); 4083 length, mapped);
4084 spin_unlock_irqrestore(&adapter->stats_lock, 4084 spin_unlock_irqrestore(&adapter->stats_lock,
4085 irq_flags); 4085 irq_flags);
4086 length--; 4086 length--;