[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 01/10: fshelp: Fix fetching control ports.
From: |
Samuel Thibault |
Subject: |
[hurd] 01/10: fshelp: Fix fetching control ports. |
Date: |
Sun, 19 Nov 2017 15:27:17 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 7b9011628ec0dea3e01b19b75013ce5cf5b9c841
Author: Justus Winter <address@hidden>
Date: Thu Sep 21 14:22:33 2017 +0200
fshelp: Fix fetching control ports.
* libfshelp/fetch-control.c (fshelp_fetch_control): When a port is
stale, do not try to deallocate it.
---
libfshelp/fetch-control.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/libfshelp/fetch-control.c b/libfshelp/fetch-control.c
index 0a11197..3b05e11 100644
--- a/libfshelp/fetch-control.c
+++ b/libfshelp/fetch-control.c
@@ -32,11 +32,7 @@ fshelp_fetch_control (struct transbox *box,
MACH_PORT_RIGHT_SEND, 1);
if (err == KERN_INVALID_RIGHT)
- {
- err = mach_port_deallocate (mach_task_self (), *control);
- assert_perror_backtrace (err);
- *control = box->active = MACH_PORT_NULL;
- }
+ *control = box->active = MACH_PORT_NULL;
return err;
}
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (796f878 -> 83fef6c), Samuel Thibault, 2017/11/19
- [hurd] 02/10: libdiskfs: Improve error message., Samuel Thibault, 2017/11/19
- [hurd] 03/10: eth-multiplexer: Remove unused function., Samuel Thibault, 2017/11/19
- [hurd] 06/10: eth-multiplexer: Remove unused macro., Samuel Thibault, 2017/11/19
- [hurd] 09/10: pfinet: Fix array size hardcoded value, Samuel Thibault, 2017/11/19
- [hurd] 01/10: fshelp: Fix fetching control ports.,
Samuel Thibault <=
- [hurd] 08/10: pfinet: Avoid returning udp errors unless requested, Samuel Thibault, 2017/11/19
- [hurd] 10/10: Make devprobe able to talk with userland drivers, Samuel Thibault, 2017/11/19
- [hurd] 05/10: eth-multiplexer: Fix debug macro., Samuel Thibault, 2017/11/19
- [hurd] 04/10: eth-multiplexer: Simplify device creation., Samuel Thibault, 2017/11/19
- [hurd] 07/10: eth-multiplexer: Avoid copying data multiple times., Samuel Thibault, 2017/11/19