OpenAFS CVS Commit: openafs/src/rx by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 26 Jan 2009 17:53:48 EST


Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-head/src/rx

Modified Files:
	rx_packet.c 
Log Message:
DELTA rx-slow-write-packet-20090126
AUTHOR jaltman@your-file-system.com
LICENSE MIT

In rx_SlowWritePacket the use of RX_MAXWVECS was incorrect.  The
niovecs field is allocated as [RX_MAXWVECS+1] with the 0th element
reserved for the rx header.  niovecs[RX_MAXWVECS] is therefore a 
valid data buffer and the comparison should be (i <= RX_MAXWVECS).

This error has most likely not been noticed previously because
nothing in the OpenAFS source tree uses this function.  



--- DELTA config follows ---
rx-slow-write-packet-20090126 openafs/src/rx/rx_packet.c 1.90 1.91