From: Sean Hefty Date: Thu, 25 Mar 2010 19:12:36 +0000 (+0000) Subject: RDMA/cm: Set num_paths when manually assigning path records X-Git-Tag: v2.6.34-rc4~9^2~1 X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=commitdiff_plain;h=ae2d9293d7cfba70f44f59cfedb44122828c73b8;hp=ae2d9293d7cfba70f44f59cfedb44122828c73b8 RDMA/cm: Set num_paths when manually assigning path records When manually assigning the path records to use for a connection, save the number of paths that were set. 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, only to discover that the kernel returned 0 path records to the query. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier ---