RDMA/cxgb3: Fail loopback connections
authorSteve Wise <swise@opengridcomputing.com>
Tue, 12 Feb 2008 22:09:29 +0000 (16:09 -0600)
committerRoland Dreier <rolandd@cisco.com>
Wed, 13 Feb 2008 15:47:42 +0000 (07:47 -0800)
commit8704e9a8790cc9e394198663c1c9150c899fb9a2
tree68f6ba71227f445d2fb81d5385f22d36fc1ba895
parent7c7a9bccd2ba9f17e4b588461f140578a0a7b073
RDMA/cxgb3: Fail loopback connections

The cxgb3 HW and driver don't support loopback RDMA connections.  So
fail any connection attempt where the destination address is local.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_cm.c