]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
IB/core: Honor return status of ib_init_ah_from_mcmember()
authorParav Pandit <parav@mellanox.com>
Tue, 13 Mar 2018 14:06:13 +0000 (16:06 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 15 Mar 2018 20:40:37 +0000 (14:40 -0600)
commit6d337179f28cc50ddd7e224f677b4cda70b275fc
tree298ce4f3ba9767248629fa5b71247f94a7075d83
parentb26c4a1138dff34cff507bafa4c87e365f4145a6
IB/core: Honor return status of ib_init_ah_from_mcmember()

The return status of ib_init_ah_from_mcmember() is ignored by
cma_ib_mc_handler().  Honor it and return error event if ah attribute
initialization failed.

Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cma.c