diff options
author | Roland McGrath <roland@gnu.org> | 1996-02-01 01:08:12 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-02-01 01:08:12 +0000 |
commit | b18c76e9f59cf974fe7e297c1a4fdbe13d1b3b7c (patch) | |
tree | 1518199f971cd5c3207f205af05ae3dcf3569093 /hurd | |
parent | 635a5405819cfe76c6e82cd1fd18596388a15847 (diff) | |
download | glibc-b18c76e9f59cf974fe7e297c1a4fdbe13d1b3b7c.tar.gz |
(_hurd_intr_rpc_mach_msg): Clear SS->intr_port when cancelled before RPC.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/intr-msg.c | 2 |
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; } |