set kernel listener pid from curproc rather than curthread (and clean
up unnecessary break case in code)
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;
rxp = rxi_ReceivePacket(rxp, rx_socket, host, port);
AFS_RXGUNLOCK();
}
- if (afs_termState == AFSOP_STOP_RXK_LISTENER)
- break;
-
}
#ifdef RX_ENABLE_LOCKS