summaryrefslogtreecommitdiff
path: root/libmachdev/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmachdev/net.c')
-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 */
}
}
}