e1000: fix unmap bug
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 3 Mar 2009 00:03:21 +0000 (16:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2009 00:03:21 +0000 (16:03 -0800)
commitd20b606c99c7fd9f1b6c6ec43c877eaae827d169
tree8f7e64519cd5928a57f86efd1a1026bf41fc0953
parent8ddc951c73cbc317148c0b9973dde81eece57e4c
e1000: fix unmap bug

This is in reference to the issue shown in kerneloops (search e1000 unmap)

The e1000 transmit code was calling pci_unmap_page on dma handles that it
might have called pci_map_single on.

Same bug as e1000e

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000_main.c