]> git.baikalelectronics.ru Git - kernel.git/commit
IB/cma: Add net_dev and private data checks to RDMA CM
authorHaggai Eran <haggaie@mellanox.com>
Thu, 30 Jul 2015 14:50:22 +0000 (17:50 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 19:48:23 +0000 (15:48 -0400)
commit83f5d78cb370577f78afe8ff3389114b5691d1c1
tree717e51ca991dccb10228288d7b477a5248f63969
parentfa3e3e6c9acfda2eae7b998b9f3c5abff95ecf38
IB/cma: Add net_dev and private data checks to RDMA CM

Instead of relying on a the ib_cm module to check an incoming CM request's
private data header, add these checks to the RDMA CM module. This allows a
following patch to to clean up the ib_cm interface and remove the code that
looks into the private headers. It will also allow supporting namespaces in
RDMA CM by making these checks namespace aware later on.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c