summaryrefslogtreecommitdiff
path: root/libmachdev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-06-05 04:46:00 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-06-05 04:46:00 +0000
commit7f0c9d3f773154e1c068983c2b19cd2e755326c3 (patch)
tree1d78bbd95ea19ebffbd57fbddc03238324841d15 /libmachdev
parent8278d0a862436e2a00fa835e611c6bb5f1f8f211 (diff)
parent74cbbab0a8ba13b790cbf8aa62ade1a8cfc316a6 (diff)
Merge branch 'dde-upstream' into dde
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 */
}
}
}