1. 15 12月, 2008 1 次提交
    • J
      ixgbe: fix dma mapping unbalance · 5ecc3614
      Jesse Brandeburg 提交于
      This issue was initially reported by Joerg Roedel <joerg.roedel@amd.com>
      It appears that ixgbe has had a long standing bug where it was unmapping a different size than it had mapped.
      
      ixgbe 0000:02:00.0: PCI-DMA: device driver frees DMA memory with different sizes than it mapped.
      ixgbe 0000:02:00.0: PCI-DMA: device driver frees DMA memory with different size [device address=0x0000000003fed812] [map size=258 bytes] [unmap size=256 bytes]
      Pid: 6178, comm: rmmod Not tainted 2.6.28-rc5 #4 Call Trace:
       [<ffffffff8022a2ae>] iommu_queue_inv_iommu_pages+0x5e/0x70
       [<ffffffff80225956>] check_unmap+0x1c6/0x240  [<ffffffff80225ff5>] debug_unmap_single+0xb5/0x110  [<ffffffffa0213997>] ixgbe_clean_rx_ring+0x147/0x220  [<ffffffffa0214d7d>] ixgbe_down+0x2fd/0x3d0 [ixgbe]  [<ffffffffa02150b3>] ixgbe_close+0x13/0xc0 [ixgbe]  [<ffffffff80431326>] dev_close+0x56/0xa0  [<ffffffff804313b3>] rollback_registered+0x43/0x220  [<ffffffff804315a5>] unregister_netdevice+0x15/0x60  [<ffffffff80431601>] unregister_netdev+0x11/0x20  [<ffffffffa021aef8>] ixgbe_remove+0x48/0x16e [ixgbe]  [<ffffffff80386ffc>] pci_device_remove+0x2c/0x60  [<ffffffff803ef929>] __device_release_driver+0x99/0x100
       [<ffffffff803efa48>] driver_detach+0xb8/0xc0  [<ffffffff803eea6e>] bus_remove_driver+0x8e/0xd0  [<ffffffff80387374>] pci_unregister_driver+0x34/0x90  [<ffffffff8026c6c7>] sys_delete_module+0x1c7/0x2a0  [<ffffffff802a9ce9>] do_munmap+0x349/0x390  [<ffffffff80374481>] __up_write+0x21/0x150  [<ffffffff8020c30b>] system_call_fastpath+0x16/0x1b
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5ecc3614
  2. 10 12月, 2008 1 次提交
  3. 04 12月, 2008 1 次提交
  4. 01 12月, 2008 1 次提交
  5. 28 11月, 2008 1 次提交
  6. 27 11月, 2008 1 次提交
  7. 26 11月, 2008 1 次提交
  8. 25 11月, 2008 1 次提交
  9. 24 11月, 2008 1 次提交
  10. 21 11月, 2008 3 次提交
  11. 20 11月, 2008 2 次提交
  12. 16 11月, 2008 1 次提交
  13. 13 11月, 2008 1 次提交
    • W
      netdevice: safe convert to netdev_priv() #part-1 · 454d7c9b
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      This patch is a safe convert for netdev->priv to netdev_priv(netdev).
      Since all of the netdev->priv is only for read.
      But it is too big to be sent in one mail.
      I split it to 4 parts and make every part smaller than 100,000 bytes,
      which is max size allowed by vger.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      454d7c9b
  14. 04 11月, 2008 1 次提交
  15. 02 11月, 2008 1 次提交
  16. 28 10月, 2008 1 次提交
  17. 16 10月, 2008 1 次提交
  18. 25 9月, 2008 20 次提交