mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
STABLE14-rx-send-req-ack-20070516
FIXES 60046 change reply code where appropriate (cherry picked from commit a900fe30894b5c1bf3a55f2f539179c75c177dad)
This commit is contained in:
parent
f09029031c
commit
3bd269b18c
@ -3346,8 +3346,10 @@ rxi_ReceiveDataPacket(register struct rx_call *call,
|
|||||||
|
|
||||||
/* We need to send an ack of the packet is out of sequence,
|
/* We need to send an ack of the packet is out of sequence,
|
||||||
* or if an ack was requested by the peer. */
|
* or if an ack was requested by the peer. */
|
||||||
if (seq != prev + 1 || missing || (flags & RX_REQUEST_ACK)) {
|
if (seq != prev + 1 || missing) {
|
||||||
ackNeeded = RX_ACK_OUT_OF_SEQUENCE;
|
ackNeeded = RX_ACK_OUT_OF_SEQUENCE;
|
||||||
|
} else if (flags & RX_REQUEST_ACK) {
|
||||||
|
ackNeeded = RX_ACK_REQUESTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Acknowledge the last packet for each call */
|
/* Acknowledge the last packet for each call */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user