summaryrefslogtreecommitdiff
path: root/libmachdev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-06-05 04:45:50 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-06-05 04:45:50 +0000
commit74cbbab0a8ba13b790cbf8aa62ade1a8cfc316a6 (patch)
treeb0f957320172f50cb9543f54a8dc87f8af321dda /libmachdev
parente97f28a07f68247728823207bc58571ab9323277 (diff)
parenta48f679a728472de11a2264e589f01b31f4f2a98 (diff)
Merge remote-tracking branch 'incubator/dde' into dde-upstream
Diffstat (limited to 'libmachdev')
-rw-r--r--libmachdev/net.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libmachdev/net.c b/libmachdev/net.c
index 606765f5..ed52f0e4 100644
--- a/libmachdev/net.c
+++ b/libmachdev/net.c
@@ -214,9 +214,7 @@ deliver_msg(struct net_rcv_msg *msg, if_filter_list_t *ifp)
0, MACH_PORT_NULL);
if (err != MACH_MSG_SUCCESS)
{
- mach_port_deallocate(mach_task_self (),
- ((mach_msg_header_t *)msg)->msgh_remote_port);
- return -1;
+ /* TODO: remove from filter */
}
}
}