1. 23 1月, 2007 3 次提交
  2. 10 1月, 2007 2 次提交
  3. 08 1月, 2007 5 次提交
  4. 05 1月, 2007 1 次提交
    • M
      IB/mthca: Fix off-by-one in FMR handling on memfree · 46707e96
      Michael S. Tsirkin 提交于
      mthca_table_find() will return the wrong address when the table entry
      being searched for is exactly at the beginning of a sglist entry
      (other than the first), because it uses >= when it should use >.
      
      Example: assume we have 2 entries in scatterlist, 4K each, offset is
      4K.  The current code will return first entry + 4K when we really want
      the second entry.
      
      In particular this means mapping an FMR on a memfree HCA may end up
      writing the page table into the wrong place, leading to memory
      corruption and also causing the HCA to use an incorrect address
      translation table.
      Signed-off-by: NMichael S. Tsirkin <mst@mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      46707e96
  5. 31 12月, 2006 1 次提交
  6. 16 12月, 2006 3 次提交
  7. 13 12月, 2006 16 次提交
  8. 09 12月, 2006 2 次提交
  9. 08 12月, 2006 2 次提交
  10. 04 12月, 2006 1 次提交
  11. 30 11月, 2006 4 次提交