]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm: Disable ACM support if ibacm.port is not found
authorSean Hefty <sean.hefty@intel.com>
Mon, 8 Oct 2012 17:33:21 +0000 (10:33 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 9 Oct 2012 18:22:11 +0000 (11:22 -0700)
commit507cc241e8b212c3cf3ed0ffb04e37095bbf8bb3
tree7c7253fbda963ab279336f08306bfb987ff84d79
parente57196c71ddd850e14f3e66355f02786e4914f72
librdmacm: Disable ACM support if ibacm.port is not found

The librdmacm will try to connect port 6125 if ibacm.port is
not found.  The problem is that some other service or application
could be using that port and respond with garbage.  Rather
than falling back to a hard coded port number, if ibacm.port
is not found, simply disable ACM support.

This has the effect of removing support for older versions
of ibacm, unless the port file is created manually.

Patch created based on feedback from Doug Ledford and Florian
Weimer from RedHat.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c