From: David S. Miller Date: Sun, 22 May 2022 20:30:53 +0000 (+0100) Subject: Merge branch 'rxrpc-fixes' X-Git-Tag: for-5.19/block-exec-2022-06-02~49^2~3^2~7 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=c12b95885ab2d318fdad9b395acd53df42fd7b0e;p=linux-block.git Merge branch 'rxrpc-fixes' David Howells says: ==================== rxrpc: Miscellaneous fixes Here are some fixes for AF_RXRPC: (1) Fix listen() allowing preallocation to overrun the prealloc buffer. (2) Prevent resending the request if we've seen the reply starting to arrive. (3) Fix accidental sharing of ACK state between transmission and reception. (4) Ignore ACKs in which ack.previousPacket regresses. This indicates the highest DATA number so far seen, so should not be seen to go backwards. (5) Fix the determination of when to generate an IDLE-type ACK, simplifying it so that we generate one if we have more than two DATA packets that aren't hard-acked (consumed) or soft-acked (in the rx buffer, but could be discarded and re-requested). ==================== Signed-off-by: David S. Miller --- c12b95885ab2d318fdad9b395acd53df42fd7b0e