RDMA/cma: Avoid setting path record type twice
authorParav Pandit <parav@mellanox.com>
Tue, 14 Nov 2017 12:52:02 +0000 (14:52 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Dec 2017 22:37:07 +0000 (15:37 -0700)
commitc4238805375847071e1ca9e2a37e1f26ce1a4809
treefafc7075d810602a807edc8881e005f423478ab3
parent4367ec7fe2dd6f049f8bb558c86d54b438186729
RDMA/cma: Avoid setting path record type twice

Avoid setting path record type twice for RoCE.

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