]> 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>
Wed, 7 Apr 2010 00:26:25 +0000 (17:26 -0700)
commit4df9cc738c8d36efcf8403d0e7494b4e9360bf2f
treefbf79fc72cd2d3b03a3eac8f5e52ad3235dbecae
parentc7e828defc737eaf6a99efde2ec1b73312c558e0
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>
drivers/infiniband/core/cma.c