about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hurd/intr-msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c
index 9362731240..63fac30959 100644
--- a/hurd/intr-msg.c
+++ b/hurd/intr-msg.c
@@ -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;
     }