[SCM] Hurd branch, master, updated. v0.9.git20260527-26-g308b36db
Samuel Thibault <[email protected]> Thu, 23 Jul 2026 17:22:21 -0400 (EDT)
| Newsgroups | gmane.os.hurd.cvs |
|---|---|
| Message-ID | <[email protected]> |
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 308b36dbe2b533717a379402d4243d0224327846 (commit)
via 378fc414cd4dd2550226e8dbafd3658c70158ce9 (commit)
via b4bf545f3a1bfffe70b7b8e989ea394a4e10a848 (commit)
via 1b8595903cbe15c9791a305ced16e5110f5fd19a (commit)
from 8b7127730db1826eec74c25f352aec67131f740c (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 308b36dbe2b533717a379402d4243d0224327846
Author: Joan Lledó <[email protected]>
Date: Thu Jul 23 19:08:21 2026 +0200
lwip: use default values for invalid IPv4 addresses
When configuring a network interface with an invalid IPv4 address
(INADDR_ANY or INADDR_NONE), set the address to INADDR_ANY and the
netmask to 255.0.0.0 instead of INADDR_NONE. This passes validation
and is consistent with pfinet behavior
* lwip/lwip-util.c (init_ifs, configure_device): Use INADDR_ANY and
inet_addr ("255.0.0.0") as defaults for invalid addresses.
Message-ID: <[email protected]>
commit 378fc414cd4dd2550226e8dbafd3658c70158ce9
Author: Joan Lledó <[email protected]>
Date: Wed Jul 1 19:00:30 2026 +0200
lwip: load existing interface config before parsing fsysopts
Add parse_hook_load_previous_config(), invoked from parse_opt when
netif_list is already populated (i.e. we are handling a fsysopts call
on a running translator). It seeds the parse hook with the current
addresses of each non-loopback netif so the new options are merged into
the existing configuration instead of replacing it, mirroring pfinet's
behavior.
Message-ID: <[email protected]>
commit b4bf545f3a1bfffe70b7b8e989ea394a4e10a848
Author: Joan Lledó <[email protected]>
Date: Wed Jul 1 19:00:29 2026 +0200
lwip: clean up IPv6 address handling in init_ifs and inquire_device
- init_ifs: drop redundant manual tentative-state setup; let
netif_add_ip6_address() handle DAD state internally.
- update_if: skip multicast addresses, remove unused prefix_len
hardcoding and trailing dead code.
- inquire_device: memset the addr6 output buffer, only copy addresses
whose state is valid, and set prefix_len based on whether the
address is static (64) or autoconf (128) instead of always 64.
Message-ID: <[email protected]>
commit 1b8595903cbe15c9791a305ced16e5110f5fd19a
Author: Joan Lledó <[email protected]>
Date: Wed Jul 1 19:00:28 2026 +0200
lwip: switch inquire_device()/configure_device() to ip4_addr_t/ip6_addr_t
Replace raw uint32_t parameters with lwIP's ip4_addr_t / ip6_addr_t so
callers don't have to cast back and forth. Drop the now-unused
addr6_prefix_len parameter from configure_device() and the addr6
parameter handling in update_if_args, and update all call sites in
iioctl-ops.c, options.c and pfinet-ops.c accordingly.
Message-ID: <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
lwip/iioctl-ops.c | 54 ++++++++++++++-------------
lwip/lwip-util.c | 108 +++++++++++++++++++++++++-----------------------------
lwip/lwip-util.h | 16 ++++----
lwip/options.c | 76 +++++++++++++++++++++++++++++++++-----
lwip/options.h | 2 +-
lwip/pfinet-ops.c | 19 ++++++----
6 files changed, 164 insertions(+), 111 deletions(-)
hooks/post-receive
--
Hurd