commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 22/28: eth-multiplexer: Fix packet delivery.


From: Samuel Thibault
Subject: [hurd] 22/28: eth-multiplexer: Fix packet delivery.
Date: Wed, 16 Nov 2016 08:30:28 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit ed257f4e3320307eca7ed181f6e2dd6e699efb41
Author: Justus Winter <address@hidden>
Date:   Sat Nov 5 17:58:22 2016 +0100

    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.
---
 eth-multiplexer/vdev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/eth-multiplexer/vdev.c b/eth-multiplexer/vdev.c
index 7620cd0..a526bd2 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");
        }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]