]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/rxrpc/ar-skbuff.c
af_rxrpc: Add sysctls for configuring RxRPC parameters
[karo-tx-linux.git] / net / rxrpc / ar-skbuff.c
index de755e04d29ce1495a0f0c9459b487da85c0b413..af9f4fd2a365cd50ce16bd81e4ff1992c37331e4 100644 (file)
@@ -83,6 +83,11 @@ static void rxrpc_hard_ACK_data(struct rxrpc_call *call,
                rxrpc_request_final_ACK(call);
        } else if (atomic_dec_and_test(&call->ackr_not_idle) &&
                   test_and_clear_bit(RXRPC_CALL_TX_SOFT_ACK, &call->flags)) {
+               /* We previously soft-ACK'd some received packets that have now
+                * been consumed, so send a hard-ACK if no more packets are
+                * immediately forthcoming to allow the transmitter to free up
+                * its Tx bufferage.
+                */
                _debug("send Rx idle ACK");
                __rxrpc_propose_ACK(call, RXRPC_ACK_IDLE, sp->hdr.serial,
                                    true);