mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
f4e7da8cde
commit
985a5c824a
3 changed files with 30 additions and 23 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue