mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
(_hurd_intr_rpc_mach_msg): Clear SS->intr_port when cancelled before RPC.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user