RDMA: Clear CQ objects during their allocation
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 9 Jan 2019 18:15:59 +0000 (20:15 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 11 Jan 2019 00:08:52 +0000 (17:08 -0700)
commit0975890ebe9b40abf08fecf216aed4f92805db70
treec85212f9269f3594a3e6905327e91dd56b3de1af
parent8cbfaac3d0974ecf53b28db23ea8c105f491bb35
RDMA: Clear CQ objects during their allocation

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

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx4/cq.c
drivers/infiniband/hw/mthca/mthca_provider.c