diff options
author | Matan Barak <matanb@mellanox.com> | 2015-10-15 18:38:49 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-21 23:48:17 -0400 |
commit | abae1b71dd37bab506b14a6cf6ba7148f4d57232 (patch) | |
tree | bb1e327e209e8009fea2ef9fda94e5844bfd6376 /include/rdma/ib_cache.h | |
parent | c2c6ff134596e2691de7506667b712bef93cb1f0 (diff) | |
download | blackbird-obmc-linux-abae1b71dd37bab506b14a6cf6ba7148f4d57232.tar.gz blackbird-obmc-linux-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