]> 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>
Mon, 8 Oct 2012 17:33:21 +0000 (10:33 -0700)
commitf78da7e7e15c7786585a18457d65d86959326229
tree617f5069912b4aeedf6a0bfe0178722f4aa39039
parent8a92d0c3c8ce5f513dff974912143f6b0283f8e3
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.

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