summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-11-05 17:58:22 +0100
committerJustus Winter <justus@gnupg.org>2016-11-05 17:58:22 +0100
commited257f4e3320307eca7ed181f6e2dd6e699efb41 (patch)
tree9b8b48c65e212d2ea87e742edbf72f4d068464b0
parent25d614aa11e52370c200e677099746a619ea76db (diff)
eth-multiplexer: Fix packet delivery.
* eth-multiplexer/vdev.c (deliver_msg): Do not return an error if delivering a message fails. Doing so prevents all other filters from being executed, and more importantly aborts the iteration over all virtual devices.
-rw-r--r--eth-multiplexer/vdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/eth-multiplexer/vdev.c b/eth-multiplexer/vdev.c
index 7620cd0f..a526bd2a 100644
--- a/eth-multiplexer/vdev.c
+++ b/eth-multiplexer/vdev.c
@@ -297,7 +297,6 @@ deliver_msg(struct net_rcv_msg *msg, struct vether_device *vdev)
mach_port_deallocate(mach_task_self (),
((mach_msg_header_t *)msg)->msgh_remote_port);
error (0, err, "mach_msg");
- return -1;
}
debug ("after delivering the packet\n");
}