1. 25 Oct, 2005 1 commit
    • Sean Hefty's avatar
      [IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped · 34816ad9
      Sean Hefty authored
      The MAD layer was violating the DMA API by touching data buffers used
      for sends after the DMA mapping was done.  This causes problems on
      non-cache-coherent architectures, because the device doing DMA won't
      see updates to the payload buffers that exist only in the CPU cache.
      Fix this by having all MAD consumers use ib_create_send_mad() to
      allocate their send buffers, and moving the DMA mapping into the MAD
      layer so it can be done just before calling send (and after any
      modifications of the send buffer by the MAD layer).
      Tested on a non-cache-coherent PowerPC 440SPe system.
      Signed-off-by: default avatarSean Hefty <sean.hefty@intel.com>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
  2. 24 Oct, 2005 2 commits
  3. 20 Oct, 2005 3 commits
  4. 18 Oct, 2005 1 commit
  5. 17 Oct, 2005 14 commits
  6. 08 Oct, 2005 1 commit
  7. 26 Sep, 2005 1 commit
    • Roland Dreier's avatar
      [IB] uverbs: Close some exploitable races · 63c47c28
      Roland Dreier authored
      Al Viro pointed out that the current IB userspace verbs interface
      allows userspace to cause mischief by closing file descriptors before
      we're ready, or issuing the same command twice at the same time.  This
      patch closes those races, and fixes other obvious problems such as a
      module reference leak.
      Some other interface bogosities will require an ABI change to fix
      properly, so I'm deferring those fixes until 2.6.15.
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
  8. 21 Sep, 2005 2 commits
  9. 19 Sep, 2005 1 commit
  10. 10 Sep, 2005 2 commits
  11. 09 Sep, 2005 2 commits
  12. 07 Sep, 2005 5 commits
  13. 27 Aug, 2005 5 commits