git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
992ec09
)
rx-idledead-only-ignore-keepalives-20081222
author
Derrick Brashear
<shadow@dementia.org>
Mon, 22 Dec 2008 17:14:36 +0000 (17:14 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 22 Dec 2008 17:14:36 +0000 (17:14 +0000)
LICENSE IPL10
critical to not ignore e.g. other acks
src/rx/rx.c
patch
|
blob
|
history
diff --git
a/src/rx/rx.c
b/src/rx/rx.c
index
77ea8ca
..
eebf1cb
100644
(file)
--- a/
src/rx/rx.c
+++ b/
src/rx/rx.c
@@
-5524,7
+5524,7
@@
rxi_Send(register struct rx_call *call, register struct rx_packet *p,
* idle connections) */
conn->lastSendTime = call->lastSendTime = clock_Sec();
/* Don't count keepalives here, so idleness can be tracked. */
- if (p->header.type != RX_PACKET_TYPE_ACK)
+ if ((p->header.type != RX_PACKET_TYPE_ACK) || (((struct rx_ackPacket *)rx_DataOf(p))->reason != RX_ACK_PING))
call->lastSendData = call->lastSendTime;
}