freebsd-dev/sys/ofed/drivers/infiniband
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
..
core ibcore: Fix loopback with rdma-cm. 2018-12-05 13:23:14 +00:00
ulp Plug some networking sysctl leaks. 2018-11-22 20:49:41 +00:00
util sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00