OpenAFS CVS Commit: openafs/src/rx by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Thu, 29 May 2008 09:33:29 EDT
Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/rx
Modified Files:
Tag: openafs-devel-1_5_x
rx.c rx_user.c
Log Message:
DELTA DEVEL15-rx-init-more-packets-20080529
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT
It is frequently the case that rx_getAllAddr() is called before
rx_Init() or rx_InitHost(). rx_getAllAddr() obtains the list of
interfaces by using rx_GetIFInfo() which in turn computes and
allocates the number of addition rx packets. Unfortunately,
rxi_MorePackets() relies on the existence of an initialized mutex
and the mutex is not initialized (on Windows) until the rx_InitHost()
call. Therefore, we must delay the rxi_MorePackets() call until
after rx_InitHost() if rx_getAllAddr() is called previously.
Failure to do so results in a panic.
--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-rx-init-more-packets-20080529 openafs/src/rx/rx.c 1.97.2.25 1.97.2.26
DEVEL15-rx-init-more-packets-20080529 openafs/src/rx/rx_user.c 1.24.4.3 1.24.4.4