diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2016-06-13 16:44:41 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-15 06:50:44 (GMT) |
commit | d769ef81d5b5932520fbefb02614a4380c132495 (patch) | |
tree | af1fedcb8109508425ee90d419d58272676af746 /net/rds/tcp.c | |
parent | 1c5113cf796bb730abc1798a3649b61e9e022be6 (diff) | |
download | linux-d769ef81d5b5932520fbefb02614a4380c132495.tar.xz |
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/tcp.c')
-rw-r--r-- | net/rds/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/tcp.c b/net/rds/tcp.c index 4bc1c15..0e757a0 100644 --- a/net/rds/tcp.c +++ b/net/rds/tcp.c @@ -186,7 +186,7 @@ void rds_tcp_reset_callbacks(struct socket *sock, release_sock(osock->sk); sock_release(osock); newsock: - rds_send_reset(conn); + rds_send_path_reset(&conn->c_path[0]); lock_sock(sock->sk); write_lock_bh(&sock->sk->sk_callback_lock); tc->t_sock = sock; |