]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA: Clear PD objects during their allocation
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 9 Jan 2019 18:15:58 +0000 (20:15 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 11 Jan 2019 00:08:52 +0000 (17:08 -0700)
commit8cbfaac3d0974ecf53b28db23ea8c105f491bb35
treea3daca92f03d2f7e68bfe88215296e1c48960f86
parentdbe30dae487e1a232158c24b432d45281c2805b7
RDMA: Clear PD objects during their allocation

As part of an audit process to update drivers to use rdma_restrack_add()
ensure that PD objects is cleared before access.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_pd.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mthca/mthca_provider.c
drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c
drivers/infiniband/sw/rdmavt/pd.c