aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_cache.h
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2015-10-15 18:38:49 +0300
committerDoug Ledford <dledford@redhat.com>2015-10-21 23:48:17 -0400
commitabae1b71dd37bab506b14a6cf6ba7148f4d57232 (patch)
treebb1e327e209e8009fea2ef9fda94e5844bfd6376 /include/rdma/ib_cache.h
parentIB/cm: cm_init_av_by_path should find a GID by its netdevice (diff)
downloadlinux-dev-abae1b71dd37bab506b14a6cf6ba7148f4d57232.tar.xz
linux-dev-abae1b71dd37bab506b14a6cf6ba7148f4d57232.zip
IB/cma: cma_validate_port should verify the port and netdevice
Previously, cma_validate_port searched for GIDs in IB cache and then tried to verify the found port. This could fail when there are identical GIDs on both ports. In addition, netdevice should be taken into account when searching the GID table. Fixing cma_validate_port to search only the relevant port's cache and netdevice. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/ib_cache.h')
0 files changed, 0 insertions, 0 deletions