aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox
diff options
context:
space:
mode:
authorSomnath Kotur <somnath.kotur@emulex.com>2013-11-16 09:30:01 +0530
committerRoland Dreier <roland@purestorage.com>2014-01-22 22:49:17 -0800
commit5462eddd7a78131ccb514d52473625d99769215e (patch)
tree369a593837786ab8f5e437415057337bc602ed47 /drivers/net/ethernet/mellanox
parentLinux 3.13-rc8 (diff)
downloadlinux-dev-5462eddd7a78131ccb514d52473625d99769215e.tar.xz
linux-dev-5462eddd7a78131ccb514d52473625d99769215e.zip
RDMA/cma: Handle global/non-linklocal IPv6 addresses in cma_check_linklocal()
If addr is not a linklocal address, the code incorrectly fails to return and ends up assigning the scope ID to the scope id of the address, which is wrong. Fix by checking if it's a link local address first, and immediately return 0 if not. Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
0 files changed, 0 insertions, 0 deletions