Skip to content

Commit

Permalink
e1000: look into the page instead of skb->data for e1000_tbi_adjust_s…
Browse files Browse the repository at this point in the history
…tats()

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>
  • Loading branch information
Sebastian Andrzej Siewior authored and Jeff Kirsher committed Jun 2, 2012
1 parent ad1be8d commit 281a8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/intel/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4080,7 +4080,7 @@ static bool e1000_clean_jumbo_rx_irq(struct e1000_adapter *adapter,
spin_lock_irqsave(&adapter->stats_lock,
irq_flags);
e1000_tbi_adjust_stats(hw, &adapter->stats,
length, skb->data);
length, mapped);
spin_unlock_irqrestore(&adapter->stats_lock,
irq_flags);
length--;
Expand Down

0 comments on commit 281a8f2

Please sign in to comment.