[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 32/43: eth-multiplexer: Fix type check.
From: |
Samuel Thibault |
Subject: |
[hurd] 32/43: eth-multiplexer: Fix type check. |
Date: |
Mon, 11 Sep 2017 07:10:11 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 477b739fdff7b205b1b6066a2685c0924fc0ea9f
Author: Justus Winter <address@hidden>
Date: Thu Aug 24 11:07:32 2017 +0200
eth-multiplexer: Fix type check.
* eth-multiplexer/device_impl.c (ds_device_open): Check the port
class.
---
eth-multiplexer/device_impl.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eth-multiplexer/device_impl.c b/eth-multiplexer/device_impl.c
index f23738a..d7c8bee 100644
--- a/eth-multiplexer/device_impl.c
+++ b/eth-multiplexer/device_impl.c
@@ -51,7 +51,8 @@ ds_device_open (mach_port_t master_port, mach_port_t
reply_port,
mach_msg_type_name_t *devicetype)
{
struct vether_device *dev;
- struct protid *pi = ports_lookup_port (netfs_port_bucket, master_port, 0);
+ struct protid *pi = ports_lookup_port (netfs_port_bucket, master_port,
+ netfs_protid_class);
if (pi == NULL)
return D_NO_SUCH_DEVICE;
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 06/43: trans: Fix parallel build race around MIG-generated headers, (continued)
- [hurd] 06/43: trans: Fix parallel build race around MIG-generated headers, Samuel Thibault, 2017/09/11
- [hurd] 09/43: libshouldbeinlibc: Add missing include., Samuel Thibault, 2017/09/11
- [hurd] 05/43: ext2fs: Reduce verbosity of missing xattr support on the FS, Samuel Thibault, 2017/09/11
- [hurd] 11/43: build: Drop unused/unsubstituted config variables, Samuel Thibault, 2017/09/11
- [hurd] 10/43: Revert "Fix taking into account prefix for xkb-data installation", Samuel Thibault, 2017/09/11
- [hurd] 19/43: libdiskfs: Make mapping the time device more robust., Samuel Thibault, 2017/09/11
- [hurd] 01/43: procfs: Remove superfluous calls., Samuel Thibault, 2017/09/11
- [hurd] 13/43: Fix harmless indentation errors tripping [-Wmisleading-indentation]., Samuel Thibault, 2017/09/11
- [hurd] 22/43: libshouldbeinlibc: Fix wiring code., Samuel Thibault, 2017/09/11
- [hurd] 27/43: eth-multiplexer: Generalize function and improve error handling., Samuel Thibault, 2017/09/11
- [hurd] 32/43: eth-multiplexer: Fix type check.,
Samuel Thibault <=
- [hurd] 38/43: trans/mtab: Fix warnings., Samuel Thibault, 2017/09/11
- [hurd] 41/43: exec: Avoid calling mmap with zero size, Samuel Thibault, 2017/09/11
- [hurd] 24/43: eth-multiplexer: Fix error handling., Samuel Thibault, 2017/09/11
- [hurd] 12/43: Fix typo., Samuel Thibault, 2017/09/11
- [hurd] 21/43: startup: Fix retrieving the privileged ports., Samuel Thibault, 2017/09/11
- [hurd] 25/43: eth-multiplexer: Implement getting the devices flags., Samuel Thibault, 2017/09/11
- [hurd] 20/43: ext2fs: Fix warning., Samuel Thibault, 2017/09/11
- [hurd] 18/43: Make build system more robust., Samuel Thibault, 2017/09/11
- [hurd] 14/43: procfs: Provide 'hostinfo'., Samuel Thibault, 2017/09/11
- [hurd] 23/43: startup: Improve error handling., Samuel Thibault, 2017/09/11