OpenAFS CVS Commit: openafs/src/rx by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Fri, 22 Aug 2008 17:54:42 EDT
Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-kdfs/src/rx
Modified Files:
Tag: openafs-windows-kdfs-ifs-branch
rx_globals.h rx_packet.c
Log Message:
DELTA KDFS-rx-buffer-allocation-20080812
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT
Prevent rxi_MorePacketsNoLock() from dereferencing a NULL pointer if
the requested allocation size cannot be satsified. In that case back
off the number of packets until osi_Alloc() succeeds or panic if no
packets can be allocated at all.
In AllocPacketBufs() do not transfer more than rx_TSFPQGlobSize packets.
Modify RX_TS_FPQ_GTOL2() macro to protect against transfering more packets
that are actually free.
Modify RX_TS_FPQ_COMPUTE_LIMITS() to enforce a rx_TSFPQGlobSize maximum
value of 64 packets to prevent ever increasing allocation sizes within
AllocPacketBufs()
--- DELTA config for openafs-windows-kdfs-ifs-branch follows ---
KDFS-rx-buffer-allocation-20080812 openafs/src/rx/rx_globals.h 1.30 1.30.2.1
KDFS-rx-buffer-allocation-20080812 openafs/src/rx/rx_packet.c 1.76.2.1 1.76.2.2