mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
rxrpc: Transmit ACKs at the point of generation
For ACKs generated inside the I/O thread, transmit the ACK at the point of generation. Where the ACK is generated outside of the I/O thread, it's offloaded to the I/O thread to transmit it. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
This commit is contained in:
parent
a2cf3264f3
commit
b0346843b1
9 changed files with 5 additions and 75 deletions
|
@ -447,11 +447,6 @@ int rxrpc_io_thread(void *data)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!list_empty(&local->ack_tx_queue)) {
|
||||
rxrpc_transmit_ack_packets(local);
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Process received packets and errors. */
|
||||
if ((skb = __skb_dequeue(&rx_queue))) {
|
||||
switch (skb->mark) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue