mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-18 14:30:43 +08:00
(_hurd_intr_rpc_mach_msg): Clear SS->intr_port when cancelled before RPC.
This commit is contained in:
parent
635a540581
commit
b18c76e9f5
@ -59,6 +59,8 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg,
|
||||
|
||||
if (ss->cancel)
|
||||
{
|
||||
/* We have been cancelled. Don't do an RPC at all. */
|
||||
ss->intr_port = MACH_PORT_NULL;
|
||||
ss->cancel = 0;
|
||||
return EINTR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user