]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: look in the page and not in skb->data for the last byte
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 11 May 2012 16:30:46 +0000 (16:30 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 17 May 2012 12:03:12 +0000 (05:03 -0700)
commit1a4961a3724b2c723fb832a40c8585af534818c9
tree40e5be98a3b8c47ce16adcce54d8f79faf54a30c
parent1be7965557f77759adfa103b315b063f3d65a192
e1000: look in the page and not in skb->data for the last byte

The code seems to want to look at the last byte where the HW puts some
information. Since the skb->data area is never seen by the HW I guess it
does not work as expected. We pass the page address to the HW so I
*think* in order to get to the last byte where the information might be
one should use the page buffer and take a look.
This is of course not more than just compile tested.

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>
drivers/net/ethernet/intel/e1000/e1000_main.c