]> git.baikalelectronics.ru Git - kernel.git/commit
IB: Ensure that all rdma_ah_attr's are zero initialized
authorParav Pandit <parav@mellanox.com>
Wed, 13 Jun 2018 07:22:02 +0000 (10:22 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 17:11:26 +0000 (11:11 -0600)
commita424fd1deee8b4952921bcc8d3f18491636a2467
tree032ef944c2a626ca878c9d91e29194de1626f382
parentf7ba15d96a6842f59a9242b9247fe36c41554f33
IB: Ensure that all rdma_ah_attr's are zero initialized

Since we are adding some new fields to this structure it is safest if all
users reliably initialize the struct to zero.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/uverbs_cmd.c