mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02: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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user