(_hurd_intr_rpc_mach_msg): Clear SS->intr_port when cancelled before RPC.
authorroland <roland>
Thu, 1 Feb 1996 01:08:12 +0000 (01:08 +0000)
committerroland <roland>
Thu, 1 Feb 1996 01:08:12 +0000 (01:08 +0000)
hurd/intr-msg.c

index 9362731..63fac30 100644 (file)
@@ -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;
     }