freebsd-skq/sys/ofed
Slava Shwartsman ae8534ca28 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
2018-12-05 13:23:14 +00:00
..
drivers/infiniband ibcore: Fix loopback with rdma-cm. 2018-12-05 13:23:14 +00:00
include Introduce and use sgid_index in CM requests in ibcore. 2018-09-09 07:20:15 +00:00