]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Validate route when we init ah
authorMatan Barak <matanb@mellanox.com>
Wed, 23 Dec 2015 12:56:53 +0000 (14:56 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 15:35:12 +0000 (10:35 -0500)
commitec321149b68d4ef79535e0383aa5ba04d421f5fa
tree285f2b2fbcc1c6672ce95f7d24009b328078fba4
parent22eaf342d2592550c6f42dbf91c14aec441d9b52
IB/core: Validate route when we init ah

In order to make sure API users don't try to use SGIDs which don't
conform to the routing table, validate the route before searching
the RoCE GID table.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/addr.c
drivers/infiniband/core/cm.c
drivers/infiniband/core/cma.c
drivers/infiniband/core/sa_query.c
drivers/infiniband/core/verbs.c
drivers/infiniband/hw/ocrdma/ocrdma_ah.c
include/rdma/ib_addr.h