git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d7c3b0a
)
rxi-flushwrite-fake-a-better-empty-packet-20040923
author
Nickolai Zeldovich
<kolya@mit.edu>
Fri, 24 Sep 2004 02:42:28 +0000 (
02:42
+0000)
committer
Nickolai Zeldovich
<kolya@mit.edu>
Fri, 24 Sep 2004 02:42:28 +0000 (
02:42
+0000)
Fake a better empty packet in rxi_FlushWrite(), with enough space for
an rxkad header. Otherwise rxi_PrepareSendPacket may panic.
src/rx/rx_rdwr.c
patch
|
blob
|
history
diff --git
a/src/rx/rx_rdwr.c
b/src/rx/rx_rdwr.c
index
9402f11
..
f31548b
100644
(file)
--- a/
src/rx/rx_rdwr.c
+++ b/
src/rx/rx_rdwr.c
@@
-1301,7
+1301,7
@@
rxi_FlushWrite(register struct rx_call *call)
return;
}
cp->length = 0;
- cp->niovecs = 1; /* just the header */
+ cp->niovecs = 2; /* header + space for rxkad stuff */
call->nFree = 0;
}