| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Sometimes, RTM_NEWLINK message with carrier is received earlier than
NL80211_CMD_CONNECT. To make SSID= or other WiFi related settings in
[Match] section work, let's try to reconfigure the interface.
Fixes a bug introduced by 96f5f9ef9a1ba5146d3357c1548fb675d3bd5b68.
Fixes #25384.
|
|
|
|
| |
Follow-up for a39a9ac8065c29330207838b70fe388bde2bc254.
|
|
|
|
|
|
|
|
| |
No functional changes, just refactoring and preparation for later
commits.
Note, `link->dev` should always exist when link state is initialized or
later.
|
|
|
|
|
| |
Otherwise, settings based on previously received RA messages will never
removed without receiving a new RA message.
|
| |
|
|
|
|
| |
And move it from networkd-link.[ch] to relevant files.
|
|
|
|
| |
Preparation for later commits.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
non-main route table
Not sure when the issue was fixed.
- kernel-3.10 on CentOS 7 has the issue,
- kernel-4.18 on CentOS 8 works fine.
Note, the workaround dropped by the commit is not incomplete:
with an old kernel which has the issue, all non-prefix routes are
configured on the specified route table, but the prefix route is
configured on the main table. That should not work for most cases,
hence, the workaround is mostly meaningless.
|
|
|
|
|
|
| |
"Link-local" and "link local" are used throughout man pages and program
output, with the former used far more than the latter. This commit makes
it consistent throughout the project.
|
|
|
|
|
| |
Since #22248, it is not necessary to manage QDisc and TClass in same Set
or Hashmap. Let's manage them independently.
|
| |
|
| |
|
|\
| |
| | |
network: use sysctl to set IPv6LL address generation mode when the interface is already up
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is for the DSA subsystem, which have several stacked interfaces
on the master interface. To bring up a stacked interface, it is necessary
that the master is already up. See
https://github.com/systemd/systemd/issues/7478#issuecomment-348508263.
Note this is not necessary for newer kernels which includes
https://github.com/torvalds/linux/commit/9d5ef190e5615a7b63af89f88c4106a5bc127974.
Fixes #7478.
|
|
|
|
|
|
| |
manually configured
Fixes #17380.
|
|
|
|
| |
Closes #19152.
|
|
|
|
|
|
|
| |
This just changes the names of settings, variables, functions, files, and so on.
No functionality is changed.
Preparation for supporting 6rd.
|
|\
| |
| | |
network: json: add more information
|
| | |
|
|/
|
|
|
|
|
| |
INFINIBAND_ALEN
Also, the multicast and local bits in the specified MAC address for
ethernet are adjusted.
|
|\
| |
| | |
network: make IgnoreCarrierLoss= also take a timespan
|
| |
| |
| |
| |
| |
| | |
Fixes #18738 and #20887.
Replaces #18746.
|
|/
|
|
| |
And replaces all ethtool_get_permanent_macaddr() with it.
|
|\
| |
| | |
network: introduce NetworkConfigSource and NetworkConfigState
|
| |
| |
| |
| | |
This also fixes #20146.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
This also changes the logic when Id= is not specified.
Previously, kernel picks the lowest unused ID, but now networkd picks
the lowest unused ID.
|
| |
|
|
|
|
|
| |
Otherwise, if IPv6LL is received when the link is in failed state,
we may fail to reconfigure the link.
|
|
|
|
|
|
|
|
|
| |
Previously, link was reconfigured with `link_carrier_reset()`, but it
just re-request to configure static addresses, routes, etc, and restart
engines (e.g. DHCP client).
However, after coming back from sleep, several link information may be
changed, especially the wifi access point may be different. So, we may
need to reconfigure the interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, if IPv4 ACD is enabled on an address, then we first
assign the address, and start sd-ipv4acd daemon for the address.
This is not only RFC incompliant, but also the address is always
dropped, as the daemon always considers the address is conflicted.
This commit makes networkd first starts sd-ipv4acd daemon to probe
the address, and then the address is configured if no conflict is
detected.
Fixes #17235.
|
| |
|
|
|
|
| |
This also renames link_get() -> link_get_by_index().
|
|
|
|
| |
Also, this makes always specifiy "struct" for hw_addr_data.
|
|
|
|
|
|
|
|
| |
the flags are updating
E.g. nexthop requires IFF_UP flag, but the currently stored flag may be
outdated if we called link_down(). This makes such requests pending if
at least one of the flags are updating.
|
|
|
|
| |
requested MTU based on these values
|
|
|
|
|
| |
This also makes SR-IOV configurations are ignored for CAN interfaces,
as CAN interfaces seem not to support SR-IOV features.
|
| |
|
|
|
|
|
| |
The request will be processed after all setlink requests are processed.
The function will be used in later commits.
|
| |
|
| |
|
| |
|
|
|
|
| |
This will be used in later commits.
|