FreeBSD: properly identify the rxk_Listener so that msleep() returns

afs_osi_Wakeup() was not being called with the proper argument,
causing afs_osi_Sleep() to fail forever while waiting for rxk_Listener
to wake up.

Change-Id: I1b650c57ae507987359d0cb230400d3d23984cfa
Reviewed-on: http://gerrit.openafs.org/3692
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Toby Burress 2011-01-19 23:32:01 -05:00 committed by Derrick Brashear
parent 02a1eb4aae
commit bc674908ca

View File

@ -1273,7 +1273,7 @@ rxk_Listener(void)
rxk_ListenerTask = 0;
osi_rxWakeup(&rxk_ListenerTask);
#endif
#if defined(AFS_SUN5_ENV)
#if defined(AFS_SUN5_ENV) || defined(AFS_FBSD_ENV)
osi_rxWakeup(&rxk_ListenerPid);
#endif
#ifdef AFS_SUN5_ENV