]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
rxrpc: Fix the trace for terminal ACK (re)transmission
authorDavid Howells <dhowells@redhat.com>
Mon, 23 Jul 2018 16:18:36 +0000 (17:18 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 Aug 2018 12:28:23 +0000 (13:28 +0100)
Fix the trace for terminal ACK (re)transmission to put in the right
parameters.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/conn_event.c

index 8229a52c2acd79f69883e27e966fa4df43ca93c3..d46a68807f083265ba2dc5fbee488353951a818f 100644 (file)
@@ -129,8 +129,10 @@ static void rxrpc_conn_retransmit_call(struct rxrpc_connection *conn,
                _proto("Tx ABORT %%%u { %d } [re]", serial, conn->local_abort);
                break;
        case RXRPC_PACKET_TYPE_ACK:
-               trace_rxrpc_tx_ack(NULL, serial, chan->last_seq, 0,
-                                  RXRPC_ACK_DUPLICATE, 0);
+               trace_rxrpc_tx_ack(NULL, serial,
+                                  ntohl(pkt.ack.firstPacket),
+                                  ntohl(pkt.ack.serial),
+                                  pkt.ack.reason, 0);
                _proto("Tx ACK %%%u [re]", serial);
                break;
        }