mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
solaris-rx-kernel-set-listener-pid-from-curproc-20011101
set kernel listener pid from curproc rather than curthread (and clean up unnecessary break case in code)
This commit is contained in:
parent
42fddc7b46
commit
b20525634a
@ -1023,7 +1023,7 @@ void rxk_Listener(void)
|
||||
rxk_ListenerPid = current->pid;
|
||||
#endif
|
||||
#ifdef AFS_SUN5_ENV
|
||||
rxk_ListenerPid = ttoproc(curthread)->p_pidp->pid_id;
|
||||
rxk_ListenerPid = curproc->p_pid;
|
||||
#endif /* AFS_SUN5_ENV */
|
||||
#if defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
|
||||
rxk_ListenerPid = current_proc()->p_pid;
|
||||
@ -1046,9 +1046,6 @@ void rxk_Listener(void)
|
||||
rxp = rxi_ReceivePacket(rxp, rx_socket, host, port);
|
||||
AFS_RXGUNLOCK();
|
||||
}
|
||||
if (afs_termState == AFSOP_STOP_RXK_LISTENER)
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
#ifdef RX_ENABLE_LOCKS
|
||||
|
Loading…
Reference in New Issue
Block a user