commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. v0.8-83-g8cf212d


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.8-83-g8cf212d
Date: Sat, 5 Nov 2016 19:23:38 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  8cf212d402b0a392ed6c89f9e1035cbbf9988478 (commit)
       via  54c6736341bda9564a028ad3d61d46488e53b8a6 (commit)
       via  115695afe34e5253816ff0e828054f8c07e2ddbd (commit)
       via  fd3b0bc1b318a2cc95ac1f85e308708c4bb8999a (commit)
       via  ed257f4e3320307eca7ed181f6e2dd6e699efb41 (commit)
      from  25d614aa11e52370c200e677099746a619ea76db (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8cf212d402b0a392ed6c89f9e1035cbbf9988478
Author: Justus Winter <address@hidden>
Date:   Sat Nov 5 18:47:34 2016 +0100

    boot: Improve device pass-through.
    
    Previously, the device file was opened once at startup time.  This is
    fragile, as the remote server might die.  Open it at device open time
    instead.
    
    * boot/boot.c (options): Improve documentation.
    (struct dev_map): Rename fields, document, store the name of the
    device file instead of a port.
    (add_dev_map): Update accordingly.
    (lookup_dev): Likewise.
    (ds_device_open): Open the device file here instead.

commit 54c6736341bda9564a028ad3d61d46488e53b8a6
Author: Justus Winter <address@hidden>
Date:   Sat Nov 5 18:41:13 2016 +0100

    eth-multiplexer: Generate stable ethernet addresses.
    
    Previously, the ethernet multiplexer generated ethernet addresses for
    the virtual interfaces using a pseudo-random number generator.  This
    has the downside of generating a new address every time.  Generate
    stable pseudo-random addresses instead.
    
    * eth-multiplexer/Makefile (HURDLIBS): Link to libihash.
    * eth-multiplexer/ethernet.c (ether_address): New variable.
    (get_ethernet_address): New function.
    (ethernet_open): Get the ethernet address of the real interface.
    * eth-multiplexer/ethernet.h (ether_address): New declaration.
    * eth-multiplexer/vdev.c (add_vdev): Compute the ethernet address by
    hashing the address of the real interface with the name of the virtual
    interface.

commit 115695afe34e5253816ff0e828054f8c07e2ddbd
Author: Justus Winter <address@hidden>
Date:   Sat Nov 5 18:26:39 2016 +0100

    eth-multiplexer: Avoid local definitions.
    
    * eth-multiplexer/util.h: Include 'net/if_ether.h'.
    (ETH_ALEN): Drop.
    (struct ethhdr): Likewise.
    * eth-multiplexer/vdev.c: Include 'net/if_ether.h'.
    (ETH_HLEN): Drop.

commit fd3b0bc1b318a2cc95ac1f85e308708c4bb8999a
Author: Justus Winter <address@hidden>
Date:   Sat Nov 5 18:05:06 2016 +0100

    eth-multiplexer: Fix retrieving status of virtual interfaces.
    
    Previously, the ethernet multiplexer returned the status of the real
    network device if one was configured.  This had the unfortunate
    consequence that all virtual devices shared the same ethernet address.
    
    * eth-multiplexer/device_impl.c (ds_device_get_status): Always return
    the information for the virtual device.
    * eth-multiplexer/vdev.h (dev_getstat): Add prototype.

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.

-----------------------------------------------------------------------

Summary of changes:
 boot/boot.c                   |   50 +++++++++++++++++++++++++++++------------
 eth-multiplexer/Makefile      |    2 +-
 eth-multiplexer/device_impl.c |   10 ++-------
 eth-multiplexer/ethernet.c    |   27 ++++++++++++++++++++++
 eth-multiplexer/ethernet.h    |    4 +++-
 eth-multiplexer/util.h        |   10 +--------
 eth-multiplexer/vdev.c        |   12 +++++++---
 eth-multiplexer/vdev.h        |    5 +++++
 8 files changed, 84 insertions(+), 36 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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