| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
|/
|
|
|
| |
sd_netlink_message_set_flags is called without NLM_F_ACK which results in
a timeout while networkd is waiting for an ACK that the kernel will never send.
|
|
|
|
| |
Also adjust log levels.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If the SD_IPV4ACD_EVENT_BIND event happens before all routes are
assigned, then the link stuck in configuring state.
|
|
|
|
|
| |
The lease lost may happen during renewing address. If it happens,
assertion hits in dhcp4_release_old_lease().
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If DHCP4 client lost a lease, and then soon acquire new lease, then
the removal of the old address may not be completed. If that happens,
and the new and old addresses are the same, then the new address will be
considered as a foreign address. Such a situation can occur when the
DHCP4 server is restarted.
This makes networkd wait for the removal of the old address when a new
lease is acquired.
This also makes the link in configuring state when renewing address.
|
|
|
|
|
|
| |
link_request_set_routing_policy_rule()
It will be called in link_request_set_nexthop() or serveral handlers().
|
|
|
|
|
|
| |
link_request_set_routes() or route_handler()
Then we can drop static_routes_ready() flag.
|
|
|
|
|
|
|
|
| |
When DHCP6 and RA are enabled, and RA does not provide any addresses,
then link may become configured state even if no address is assigned,
due to the time-lag between RA completion and DHCP reply.
This makes if DHCP is explicitly enabled, then link must have at least
one valid address to be in the configured state.
|
| |
|
|
|
|
| |
Follow-up for c24c83dc67a63c88b0a537f4fa7f605b1fcbac39.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for creating a MACVLAN interface in "source" mode by
specifying Mode=source in the [MACVLAN] section of a .netdev file.
A list of allowed MAC addresses for the corresponding MACVLAN can also
be specified with the SourceMACAddress= option of the [MACVLAN] section.
An example .netdev file:
[NetDev]
Name=macvlan0
Kind=macvlan
MACAddress=02:DE:AD:BE:EF:00
[MACVLAN]
Mode=source
SourceMACAddress=02:AB:AB:AB:AB:01 02:CD:CD:CD:CD:01
SourceMACAddress=02:EF:EF:EF:EF:01
The same keys can also be specified in [MACVTAP] for MACVTAP kinds of
interfaces, with the same semantics.
|
|\
| |
| | |
table add table_log_xx_error()
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes #16365.
|
| | |
|
|\ \
| | |
| | | |
Network: update acquired dhcp6 prefix routes
|
| | |
| | |
| | |
| | |
| | |
| | | |
Otherwise, routes become lifetime 0.
Fixes #16356.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
network: do not restart radv engine when adding prefix
|
| | | |
| | | |
| | | |
| | | | |
Replaces d469cea3bde53bc39317c8b433c825bb4790cbe5.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit d469cea3bde53bc39317c8b433c825bb4790cbe5.
|
|/ / /
| | |
| | |
| | | |
If init() is failed, the allocated memory was leaked.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
While investigating https://github.com/systemd/systemd/issues/16356, I
discovered that networkd stops the radv service before adding or updating
prefixes and then starts it again. This causes networkd to send an RA with
a router lifetime of zero, causing the routes to flap on systems receiving
the RA for a fraction of a second before radv is started again and proper
RAs are sent. That has the potential to cause issues with latency-sensitive
traffic like gaming or VoIP. This patch adds a boolean argument to the
sd_radv_stop() function to control this behavior. The zero lifetime RA is
still sent whenever radv is actually being stopped, but when it is being
restarted for a prefix update (from networkd-dhcp6.c), the final RA is no
longer sent to avoid the route flapping.
|
|\ \
| | |
| | | |
Docs and networkd
|
| | |
| | |
| | |
| | | |
While at it, define iterator in the loop to reduce the indentation a bit.
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Make update-utmp not fail if it only fails to write wtmp records
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
manager object
This is mostly cosmetic, but let's reorder the destructors so that
we do the final sd_notify() call before we run the destructor for
the manager object.
|
| |/
|/|
| |
| |
| |
| | |
Looks like a simple copy and paste error
Fixes https://github.com/systemd/systemd/issues/16367
|
| | |
|
|\ \
| | |
| | | |
network: Introduce SR-IOV
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SR-IOV provides the ability to partition a single physical PCI
resource into virtual PCI functions which can then be injected in
to a VM. In the case of network VFs, SR-IOV improves north-south n
etwork performance (that is, traffic with endpoints outside the
host machine) by allowing traffic to bypass the host machine’s network stack.
|