]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/core: Fix QP attr mask when resolving smac
authorMoni Shoua <monis@mellanox.co.il>
Mon, 3 Feb 2014 13:39:15 +0000 (15:39 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:18 +0000 (14:45 -0700)
commit73fdcc3093ebf1444f4055547406708352531913
treef2420fae41bff8bd01a1da7802549ae1ca7d070e
parentbe83278de435694e6cf62abdb974c82775988886
IB/core: Fix QP attr mask when resolving smac

When rdma_accept() is called rdma_cm modifies the QP to RTR.
During this stage the source mac needs to be resolved and put
in the QP atrr. Before modifying the QP. This patch also adds
the flag IB_QP_SMAC to the atrr_mask which was missing.

Signed-off-by: Moni Shoua <monis@mellanox.co.il>
drivers/infiniband/core/cma.c