mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
STABLE12-rx-init-mutex-before-calling-getudpsocket-20030313
pointed out by cg2v@andrew.cmu.edu
(cherry picked from commit 7187d07423
)
This commit is contained in:
parent
9cf19b4718
commit
6372a7881e
@ -397,6 +397,8 @@ int rx_Init(u_int port)
|
||||
rxi_InitializeThreadSupport();
|
||||
#endif
|
||||
|
||||
MUTEX_INIT(&rx_stats_mutex, "rx_stats_mutex",MUTEX_DEFAULT,0);
|
||||
|
||||
/* Allocate and initialize a socket for client and perhaps server
|
||||
* connections. */
|
||||
|
||||
@ -411,7 +413,6 @@ int rx_Init(u_int port)
|
||||
#ifdef RX_LOCKS_DB
|
||||
rxdb_init();
|
||||
#endif /* RX_LOCKS_DB */
|
||||
MUTEX_INIT(&rx_stats_mutex, "rx_stats_mutex",MUTEX_DEFAULT,0);
|
||||
MUTEX_INIT(&rx_rpc_stats, "rx_rpc_stats",MUTEX_DEFAULT,0);
|
||||
MUTEX_INIT(&rx_freePktQ_lock, "rx_freePktQ_lock",MUTEX_DEFAULT,0);
|
||||
MUTEX_INIT(&freeSQEList_lock, "freeSQEList lock",MUTEX_DEFAULT,0);
|
||||
|
Loading…
Reference in New Issue
Block a user