summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/call_event.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-06-17 11:53:37 +0100
committerDavid Howells <dhowells@redhat.com>2016-06-22 09:17:51 +0100
commit985a5c824a52e9f7cae59c850e2db98954f21c7c (patch)
tree430d82e25a3e9249bdc2b875365a9c18b6509216 /net/rxrpc/call_event.c
parentf4e7da8cde87d0f7e9fb806918f7ec283912b694 (diff)
downloadop-kernel-dev-985a5c824a52e9f7cae59c850e2db98954f21c7c.zip
op-kernel-dev-985a5c824a52e9f7cae59c850e2db98954f21c7c.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/call_event.c b/net/rxrpc/call_event.c
index b43faf5..0ba8429 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 {
OpenPOWER on IntegriCloud