mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
rx-send-req-ack-20070516
FIXES 60046 change reply code where appropriate
This commit is contained in:
parent
f550e3b3ff
commit
a900fe3089
@ -3355,9 +3355,11 @@ rxi_ReceiveDataPacket(register struct rx_call *call,
|
||||
|
||||
/* We need to send an ack of the packet is out of sequence,
|
||||
* 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;
|
||||
}
|
||||
} else if (flags & RX_REQUEST_ACK) {
|
||||
ackNeeded = RX_ACK_REQUESTED;
|
||||
}
|
||||
|
||||
/* Acknowledge the last packet for each call */
|
||||
if (flags & RX_LAST_PACKET) {
|
||||
|
Loading…
Reference in New Issue
Block a user