]> git.openfabrics.org - ~emulex/for-vlad/compat-rdma.git/commit
iw_cxgb4: use wildcard mapping for getting remote addr info
authorSteve Wise <swise@opengridcomputing.com>
Thu, 7 May 2015 14:56:38 +0000 (09:56 -0500)
committerSteve Wise <swise@opengridcomputing.com>
Thu, 7 May 2015 14:56:38 +0000 (09:56 -0500)
commitd2cc69c2ce19a484bf139784a6df1436596835b6
tree9bbb0b1fd1443685294f911cbc5be99ce07f210e
parent9814d7d0bc81c0ea3d7da912a7bde4fdddba7208
iw_cxgb4: use wildcard mapping for getting remote addr info

For listening endpoints bound to the wildcard address, we need to pass
the wildcard address mapping to iwpm_get_remote_info() instead of the
mapped address of the new child connection.

Without this fix, and with iwarp port mapping enabled, each iw_cxgb4
connection that is spawned from a listening endpoint bound to the wildcard
address, will generate an annoying dmesg entry about failing to find
the remote address mapping info, and the connection state displayed in
debugfs under /sys/kernel/debug/iw_cxgb4/<pci-slot-no>/eps  will not have
the peer's address/port mapping info.  The connection still works though.

Fixes: 5b6b8fe ("RDMA/cxgb4: Report the actual address of the remote connecting peer")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
linux-next-pending/0008-iw_cxgb4-use-wildcard-mapping-for-getting-remote-info.patch [new file with mode: 0644]