summaryrefslogtreecommitdiff
path: root/net/rds/threads.c
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2016-06-13 09:44:41 -0700
committerDavid S. Miller <davem@davemloft.net>2016-06-14 23:50:44 -0700
commitd769ef81d5b5932520fbefb02614a4380c132495 (patch)
treeaf1fedcb8109508425ee90d419d58272676af746 /net/rds/threads.c
parent1c5113cf796bb730abc1798a3649b61e9e022be6 (diff)
downloadlwn-d769ef81d5b5932520fbefb02614a4380c132495.tar.gz
lwn-d769ef81d5b5932520fbefb02614a4380c132495.zip
RDS: Update rds_conn_shutdown to work with rds_conn_path
This commit changes rds_conn_shutdown to take a rds_conn_path * argument, allowing it to shutdown paths other than c_path[0] for MP-capable transports. Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/threads.c')
-rw-r--r--net/rds/threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/threads.c b/net/rds/threads.c
index 94cca66ba5d6..9fbe95bb14a9 100644
--- a/net/rds/threads.c
+++ b/net/rds/threads.c
@@ -225,7 +225,7 @@ void rds_shutdown_worker(struct work_struct *work)
struct rds_conn_path,
cp_down_w);
- rds_conn_shutdown(cp->cp_conn);
+ rds_conn_shutdown(cp);
}
void rds_threads_exit(void)