diff options
author | Slava Shwartsman <slavash@FreeBSD.org> | 2018-12-05 13:23:14 +0000 |
---|---|---|
committer | Slava Shwartsman <slavash@FreeBSD.org> | 2018-12-05 13:23:14 +0000 |
commit | ae8534ca28e4914cfe544c1108e675fecca8a051 (patch) | |
tree | 702ce9ec82ce191e06439d59f2426a2d22057c55 /usr.sbin/crunch | |
parent | f3cf3b7e8420c638516ee236e09d19b6427653fa (diff) | |
download | src-ae8534ca28e4914cfe544c1108e675fecca8a051.tar.gz src-ae8534ca28e4914cfe544c1108e675fecca8a051.zip |
ibcore: Fix loopback with rdma-cm.
Trying to validate loopback fails because rtalloc1() resolves system
local addresses to the loopback network interface, lo0. Fix this by
explicitly checking for loopback during validation of the source
and destination network address. If the source address belongs to
a local network interface and is equal to the destination address,
there is no need to run the destination address through rtalloc1().
Submitted by: hselasky@
Approved by: hselasky (mentor)
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes
Notes:
svn path=/head/; revision=341530
Diffstat (limited to 'usr.sbin/crunch')
0 files changed, 0 insertions, 0 deletions