1. 15 1月, 2018 1 次提交
  2. 11 1月, 2018 3 次提交
  3. 08 1月, 2018 7 次提交
  4. 05 1月, 2018 3 次提交
  5. 29 11月, 2017 2 次提交
    • M
      nvme-pci: fix NULL pointer dereference in nvme_free_host_mem() · 7e5dd57e
      Minwoo Im 提交于
      Following condition which will cause NULL pointer dereference will
      occur in nvme_free_host_mem() when it tries to remove pci device via
      nvme_remove() especially after a failure of host memory allocation for HMB.
      
          "(host_mem_descs == NULL) && (nr_host_mem_descs != 0)"
      
      It's because __nr_host_mem_descs__ is not cleared to 0 unlike
      __host_mem_descs__ is so.
      Signed-off-by: NMinwoo Im <minwoo.im.dev@gmail.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      7e5dd57e
    • M
      nvme-rdma: fix memory leak during queue allocation · eb1bd249
      Max Gurtovoy 提交于
      In case nvme_rdma_wait_for_cm timeout expires before we get
      an established or rejected event (rdma_connect succeeded) from
      rdma_cm, we end up with leaking the ib transport resources for
      dedicated queue. This scenario can easily reproduced using traffic
      test during port toggling.
      Also, in order to protect from parallel ib queue destruction, that
      may be invoked from different context's, introduce new flag that
      stands for transport readiness. While we're here, protect also against
      a situation that we can receive rdma_cm events during ib queue destruction.
      Signed-off-by: NMax Gurtovoy <maxg@mellanox.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      eb1bd249
  6. 26 11月, 2017 5 次提交
  7. 25 11月, 2017 1 次提交
  8. 23 11月, 2017 1 次提交
  9. 20 11月, 2017 7 次提交
  10. 12 11月, 2017 1 次提交
  11. 11 11月, 2017 9 次提交