]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/cm: set num_paths when manually assigning path records
authorSean Hefty <sean.hefty@intel.com>
Wed, 7 Apr 2010 00:26:25 +0000 (17:26 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 13 May 2010 01:06:17 +0000 (18:06 -0700)
commit29a17547bc1a0c1843c88b202d317e6c91d449c5
tree718c7d59e7b8df4d31d80fe9f8f7c5e59164f0df
parentb54fb16a892f7d1be4ff761cae768670f0a9160f
rdma/cm: set num_paths when manually assigning path records

We manually assigning the path records to use for a connection,
save the number of paths that were saved.  Otherwise, checks
against num_path will show 0, even though path record data is
available.

This was discovered by manually setting the path records from
user space, then querying the kernel to see if the correct
path records were assigned.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>