Systemd/src/libsystemd-network
Patrik Flykt 10a0f27bfd sd-dhcp6-client: Fix DHCPv6 client file descriptor handling
The DHCPv6 client will set its state to DHCP6_STATE_STOPPED if
an error occurs or when receiving an Information Reply DHCPv6
message. Once in DHCP6_STATE_STOPPED, the DHCPv6 client needs
to be restarted by calling sd_dhcp6_client_start().

As of pull request #7796 client_reset() no longer closes the
network socket, thus a call to sd_dhcp6_client_start() needs to
check whether the file descriptor already exists in order not to
create a new one. Likewise, a call to sd_dhcp6_client_unref()
must now close the network socket as client_reset() is not
closing it.

Reported by asavah and Yu Watanabe.
2018-01-23 13:42:12 +01:00
..
arp-util.c libsystemd-network: fix unaligned loads (issue #7654) 2017-12-18 13:02:07 -08:00
arp-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dhcp-identifier.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dhcp-identifier.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dhcp-internal.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dhcp-lease-internal.h networkd: ignore Static Routes option when Classless Static Routes is given (#7807) 2018-01-20 08:42:45 +09:00
dhcp-network.c libsystemd-network: fix unaligned loads (issue #7654) 2017-12-18 13:02:07 -08:00
dhcp-option.c Replace free and reassignment with free_and_replace 2017-11-24 10:33:41 +00:00
dhcp-packet.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dhcp-protocol.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dhcp-server-internal.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dhcp6-internal.h dhcp6: Add function appending an IA PD to the DHCP6 message 2018-01-04 15:22:44 +02:00
dhcp6-lease-internal.h dhcp6: Add function to iterate and fetch delegated prefixes 2018-01-04 15:22:44 +02:00
dhcp6-network.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dhcp6-option.c dhcp6: fix warnings by clang with -Waddress-of-packed-member 2018-01-17 01:53:03 +09:00
dhcp6-protocol.h dhcp6: Sanitize DHCPv6 IA option parsing 2018-01-04 15:22:43 +02:00
icmp6-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
icmp6-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
lldp-internal.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
lldp-neighbor.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
lldp-neighbor.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
lldp-network.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
lldp-network.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
meson.build Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
ndisc-internal.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
ndisc-router.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
ndisc-router.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
network-internal.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
network-internal.h core,udev,networkd: add ConditionKernelVersion= 2017-12-26 17:39:44 +01:00
radv-internal.h radv: Add prefixes with dynamically updated lifetimes 2018-01-04 15:22:44 +02:00
sd-dhcp-client.c tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
sd-dhcp-lease.c networkd: ignore Static Routes option when Classless Static Routes is given (#7807) 2018-01-20 08:42:45 +09:00
sd-dhcp-server.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
sd-dhcp6-client.c sd-dhcp6-client: Fix DHCPv6 client file descriptor handling 2018-01-23 13:42:12 +01:00
sd-dhcp6-lease.c dhcp6: Add function to iterate and fetch delegated prefixes 2018-01-04 15:22:44 +02:00
sd-ipv4acd.c tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
sd-ipv4ll.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
sd-lldp.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-ndisc.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-radv.c Merge pull request #7582 from pfl/dhcp6_prefix_delegation 2018-01-15 12:02:37 +01:00
test-acd.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-dhcp-client.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-dhcp-option.c Merge pull request #2589 from keszybz/resolve-tool-2 2016-02-13 11:15:41 +01:00
test-dhcp-server.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-dhcp6-client.c test: free memory 2018-01-15 23:37:02 +09:00
test-ipv4ll-manual.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-ipv4ll.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-lldp.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-ndisc-ra.c radv: Add prefixes with dynamically updated lifetimes 2018-01-04 15:22:44 +02:00
test-ndisc-rs.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-sd-dhcp-lease.c network: Implement DHCP Option 119 (Domain Search List) (#5932) 2017-05-13 10:19:32 -04:00