diff options
author | David Howells <dhowells@redhat.com> | 2016-06-17 13:53:37 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-06-22 11:17:51 +0300 |
commit | 985a5c824a52e9f7cae59c850e2db98954f21c7c (patch) | |
tree | 430d82e25a3e9249bdc2b875365a9c18b6509216 /net/rxrpc/call_event.c | |
parent | f4e7da8cde87d0f7e9fb806918f7ec283912b694 (diff) | |
download | linux-985a5c824a52e9f7cae59c850e2db98954f21c7c.tar.xz |
rxrpc: Make rxrpc_send_packet() take a connection not a transport
Make rxrpc_send_packet() take a connection not a transport as part of the
phasing out of the rxrpc_transport struct.
Whilst we're at it, rename the function to rxrpc_send_data_packet() to
differentiate it from the other packet sending functions.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/call_event.c')
-rw-r--r-- | net/rxrpc/call_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/call_event.c b/net/rxrpc/call_event.c index b43faf573ed3..0ba84295f913 100644 --- a/net/rxrpc/call_event.c +++ b/net/rxrpc/call_event.c @@ -187,7 +187,7 @@ static void rxrpc_resend(struct rxrpc_call *call) _proto("Tx DATA %%%u { #%d }", sp->hdr.serial, sp->hdr.seq); - if (rxrpc_send_packet(call->conn->trans, txb) < 0) { + if (rxrpc_send_data_packet(call->conn, txb) < 0) { stop = true; sp->resend_at = jiffies + 3; } else { |