mirror of
https://github.com/systemd/systemd
synced 2026-03-28 17:54:51 +01:00
Compare commits
7 Commits
37eb7108fb
...
c7e445abd5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7e445abd5 | ||
|
|
074f0f0587 | ||
|
|
f71f76bb97 | ||
|
|
2b33e41aaf | ||
|
|
4c0115c76d | ||
|
|
eb2f750242 | ||
|
|
d105befc97 |
@ -715,6 +715,41 @@
|
|||||||
When unset, the kernel's default will be used.</para>
|
When unset, the kernel's default will be used.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>ReceiveVLANCTAGHardwareAcceleration=</varname></term>
|
||||||
|
<listitem>
|
||||||
|
<para>Takes a boolean. If set to true, receive VLAN CTAG hardware acceleration is enabled.
|
||||||
|
When unset, the kernel's default will be used.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>TransmitVLANCTAGHardwareAcceleration=</varname></term>
|
||||||
|
<listitem>
|
||||||
|
<para>Takes a boolean. If set to true, transmit VLAN CTAG hardware acceleration is enabled.
|
||||||
|
When unset, the kernel's default will be used.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>ReceiveVLANCTAGFilter=</varname></term>
|
||||||
|
<listitem>
|
||||||
|
<para>Takes a boolean. If set to true, receive filtering on VLAN CTAGs is enabled.
|
||||||
|
When unset, the kernel's default will be used.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>TransmitVLANSTAGHardwareAcceleration=</varname></term>
|
||||||
|
<listitem>
|
||||||
|
<para>Takes a boolean. If set to true, transmit VLAN STAG HW acceleration is enabled.
|
||||||
|
When unset, the kernel's default will be used.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><varname>NTupleFilter=</varname></term>
|
||||||
|
<listitem>
|
||||||
|
<para>Takes a boolean. If set to true, receive N-tuple filters and actions are enabled.
|
||||||
|
When unset, the kernel's default will be used.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>RxChannels=</varname></term>
|
<term><varname>RxChannels=</varname></term>
|
||||||
<term><varname>TxChannels=</varname></term>
|
<term><varname>TxChannels=</varname></term>
|
||||||
|
|||||||
@ -14,7 +14,7 @@ InstallDirectory=mkosi.installdir
|
|||||||
SourceFileTransferFinal=copy-git-others
|
SourceFileTransferFinal=copy-git-others
|
||||||
|
|
||||||
[Host]
|
[Host]
|
||||||
QemuHeadless=no
|
QemuHeadless=yes
|
||||||
NetworkVeth=yes
|
NetworkVeth=yes
|
||||||
|
|
||||||
[Validation]
|
[Validation]
|
||||||
|
|||||||
62
po/id.po
62
po/id.po
@ -7,7 +7,7 @@ msgstr ""
|
|||||||
"Project-Id-Version: systemd master\n"
|
"Project-Id-Version: systemd master\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2021-01-08 17:48+0100\n"
|
"POT-Creation-Date: 2021-01-08 17:48+0100\n"
|
||||||
"PO-Revision-Date: 2021-09-09 03:04+0000\n"
|
"PO-Revision-Date: 2021-09-24 11:05+0000\n"
|
||||||
"Last-Translator: Andika Triwidada <andika@gmail.com>\n"
|
"Last-Translator: Andika Triwidada <andika@gmail.com>\n"
|
||||||
"Language-Team: Indonesian <https://translate.fedoraproject.org/projects/"
|
"Language-Team: Indonesian <https://translate.fedoraproject.org/projects/"
|
||||||
"systemd/master/id/>\n"
|
"systemd/master/id/>\n"
|
||||||
@ -68,67 +68,57 @@ msgstr "Otentikasi diperlukan untuk memuat ulang keadaan systemd."
|
|||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:13
|
#: src/home/org.freedesktop.home1.policy:13
|
||||||
msgid "Create a home area"
|
msgid "Create a home area"
|
||||||
msgstr ""
|
msgstr "Menciptakan suatu area rumah"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:14
|
#: src/home/org.freedesktop.home1.policy:14
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Authentication is required to reload the systemd state."
|
|
||||||
msgid "Authentication is required to create a user's home area."
|
msgid "Authentication is required to create a user's home area."
|
||||||
msgstr "Otentikasi diperlukan untuk memuat ulang keadaan systemd."
|
msgstr "Otentikasi diperlukan untuk mencipta suatu area rumah pengguna."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:23
|
#: src/home/org.freedesktop.home1.policy:23
|
||||||
msgid "Remove a home area"
|
msgid "Remove a home area"
|
||||||
msgstr ""
|
msgstr "Hapus suatu area rumah"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:24
|
#: src/home/org.freedesktop.home1.policy:24
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Authentication is required to reload the systemd state."
|
|
||||||
msgid "Authentication is required to remove a user's home area."
|
msgid "Authentication is required to remove a user's home area."
|
||||||
msgstr "Otentikasi diperlukan untuk memuat ulang keadaan systemd."
|
msgstr "Otentikasi diperlukan untuk menghapus area rumah pengguna."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:33
|
#: src/home/org.freedesktop.home1.policy:33
|
||||||
msgid "Check credentials of a home area"
|
msgid "Check credentials of a home area"
|
||||||
msgstr ""
|
msgstr "Memeriksa kredensial dari suatu area rumah"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:34
|
#: src/home/org.freedesktop.home1.policy:34
|
||||||
#, fuzzy
|
|
||||||
#| msgid ""
|
|
||||||
#| "Authentication is required to manage active sessions, users and seats."
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Authentication is required to check credentials against a user's home area."
|
"Authentication is required to check credentials against a user's home area."
|
||||||
msgstr "Otentikasi diperlukan untuk mengelola seat, pengguna, dan sesi aktif."
|
msgstr ""
|
||||||
|
"Otentikasi diperlukan untuk memeriksa kredensial atas suatu area rumah "
|
||||||
|
"pengguna."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:43
|
#: src/home/org.freedesktop.home1.policy:43
|
||||||
msgid "Update a home area"
|
msgid "Update a home area"
|
||||||
msgstr ""
|
msgstr "Memperbarui suatu area rumah"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:44
|
#: src/home/org.freedesktop.home1.policy:44
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Authentication is required to attach a device to a seat."
|
|
||||||
msgid "Authentication is required to update a user's home area."
|
msgid "Authentication is required to update a user's home area."
|
||||||
msgstr "Otentikasi diperlukan untuk mencantol suatu perangkat ke sebuah seat."
|
msgstr "Otentikasi diperlukan untuk memperbarui suatu area rumah pengguna."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
msgid "Resize a home area"
|
msgid "Resize a home area"
|
||||||
msgstr ""
|
msgstr "Mengubah ukuran area rumah"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Authentication is required to set a wall message"
|
|
||||||
msgid "Authentication is required to resize a user's home area."
|
msgid "Authentication is required to resize a user's home area."
|
||||||
msgstr "Otentikasi diperlukan untuk menyetel pesan wall"
|
msgstr "Otentikasi diperlukan untuk mengubah ukuran area rumah pengguna."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:63
|
#: src/home/org.freedesktop.home1.policy:63
|
||||||
msgid "Change password of a home area"
|
msgid "Change password of a home area"
|
||||||
msgstr ""
|
msgstr "Ubah kata sandi dari suatu area rumah"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:64
|
#: src/home/org.freedesktop.home1.policy:64
|
||||||
#, fuzzy
|
|
||||||
#| msgid ""
|
|
||||||
#| "Authentication is required to manage active sessions, users and seats."
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Authentication is required to change the password of a user's home area."
|
"Authentication is required to change the password of a user's home area."
|
||||||
msgstr "Otentikasi diperlukan untuk mengelola seat, pengguna, dan sesi aktif."
|
msgstr ""
|
||||||
|
"Otentikasi diperlukan untuk mengubah kata sandi dari suatu area rumah "
|
||||||
|
"pengguna."
|
||||||
|
|
||||||
#: src/hostname/org.freedesktop.hostname1.policy:20
|
#: src/hostname/org.freedesktop.hostname1.policy:20
|
||||||
msgid "Set hostname"
|
msgid "Set hostname"
|
||||||
@ -801,21 +791,17 @@ msgstr "Otentikasi diperlukan untuk mengonfigurasi ulang antar muka jaringan."
|
|||||||
|
|
||||||
#: src/portable/org.freedesktop.portable1.policy:13
|
#: src/portable/org.freedesktop.portable1.policy:13
|
||||||
msgid "Inspect a portable service image"
|
msgid "Inspect a portable service image"
|
||||||
msgstr ""
|
msgstr "Memeriksa suatu image layanan portabel"
|
||||||
|
|
||||||
#: src/portable/org.freedesktop.portable1.policy:14
|
#: src/portable/org.freedesktop.portable1.policy:14
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Authentication is required to import a VM or container image"
|
|
||||||
msgid "Authentication is required to inspect a portable service image."
|
msgid "Authentication is required to inspect a portable service image."
|
||||||
msgstr "Otentikasi diperlukan untuk mengimpor suatu image kontainer atau VM"
|
msgstr "Otentikasi diperlukan untuk memeriksa suatu image layanan portabel."
|
||||||
|
|
||||||
#: src/portable/org.freedesktop.portable1.policy:23
|
#: src/portable/org.freedesktop.portable1.policy:23
|
||||||
msgid "Attach or detach a portable service image"
|
msgid "Attach or detach a portable service image"
|
||||||
msgstr ""
|
msgstr "Cantol atau lepaskan suatu image layanan portabel"
|
||||||
|
|
||||||
#: src/portable/org.freedesktop.portable1.policy:24
|
#: src/portable/org.freedesktop.portable1.policy:24
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Authentication is required to attach a device to a seat."
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Authentication is required to attach or detach a portable service image."
|
"Authentication is required to attach or detach a portable service image."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -824,14 +810,14 @@ msgstr ""
|
|||||||
|
|
||||||
#: src/portable/org.freedesktop.portable1.policy:34
|
#: src/portable/org.freedesktop.portable1.policy:34
|
||||||
msgid "Delete or modify portable service image"
|
msgid "Delete or modify portable service image"
|
||||||
msgstr ""
|
msgstr "Hapus atau ubah image layanan portabel"
|
||||||
|
|
||||||
#: src/portable/org.freedesktop.portable1.policy:35
|
#: src/portable/org.freedesktop.portable1.policy:35
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Authentication is required to download a VM or container image"
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Authentication is required to delete or modify a portable service image."
|
"Authentication is required to delete or modify a portable service image."
|
||||||
msgstr "Otentikasi diperlukan untuk mengunduh suatu image kontainer atau VM"
|
msgstr ""
|
||||||
|
"Otentikasi diperlukan untuk menghapus atau mengubah suatu image layanan "
|
||||||
|
"portabel."
|
||||||
|
|
||||||
#: src/resolve/org.freedesktop.resolve1.policy:22
|
#: src/resolve/org.freedesktop.resolve1.policy:22
|
||||||
msgid "Register a DNS-SD service"
|
msgid "Register a DNS-SD service"
|
||||||
|
|||||||
@ -1535,20 +1535,16 @@ static int become_shutdown(
|
|||||||
watchdog_timer = arg_kexec_watchdog;
|
watchdog_timer = arg_kexec_watchdog;
|
||||||
|
|
||||||
if (timestamp_is_set(watchdog_timer)) {
|
if (timestamp_is_set(watchdog_timer)) {
|
||||||
char *e;
|
/* If we reboot or kexec let's set the shutdown watchdog and tell the shutdown binary to
|
||||||
|
* repeatedly ping it */
|
||||||
/* If we reboot or kexec let's set the shutdown watchdog and
|
|
||||||
* tell the shutdown binary to repeatedly ping it */
|
|
||||||
r = watchdog_setup(watchdog_timer);
|
r = watchdog_setup(watchdog_timer);
|
||||||
watchdog_close(r < 0);
|
watchdog_close(r < 0);
|
||||||
|
|
||||||
/* Tell the binary how often to ping, ignore failure */
|
/* Tell the binary how often to ping, ignore failure */
|
||||||
if (asprintf(&e, "WATCHDOG_USEC="USEC_FMT, watchdog_timer) > 0)
|
(void) strv_extendf(&env_block, "WATCHDOG_USEC="USEC_FMT, watchdog_timer);
|
||||||
(void) strv_consume(&env_block, e);
|
|
||||||
|
|
||||||
if (arg_watchdog_device &&
|
if (arg_watchdog_device)
|
||||||
asprintf(&e, "WATCHDOG_DEVICE=%s", arg_watchdog_device) > 0)
|
(void) strv_extendf(&env_block, "WATCHDOG_DEVICE=%s", arg_watchdog_device);
|
||||||
(void) strv_consume(&env_block, e);
|
|
||||||
} else
|
} else
|
||||||
watchdog_close(true);
|
watchdog_close(true);
|
||||||
|
|
||||||
|
|||||||
@ -726,7 +726,7 @@ static int client_notify(sd_dhcp_client *client, int event) {
|
|||||||
static int client_initialize(sd_dhcp_client *client) {
|
static int client_initialize(sd_dhcp_client *client) {
|
||||||
assert_return(client, -EINVAL);
|
assert_return(client, -EINVAL);
|
||||||
|
|
||||||
client->receive_message = sd_event_source_unref(client->receive_message);
|
client->receive_message = sd_event_source_disable_unref(client->receive_message);
|
||||||
|
|
||||||
client->fd = safe_close(client->fd);
|
client->fd = safe_close(client->fd);
|
||||||
|
|
||||||
@ -1492,7 +1492,7 @@ static int client_timeout_t2(sd_event_source *s, uint64_t usec, void *userdata)
|
|||||||
|
|
||||||
assert(client);
|
assert(client);
|
||||||
|
|
||||||
client->receive_message = sd_event_source_unref(client->receive_message);
|
client->receive_message = sd_event_source_disable_unref(client->receive_message);
|
||||||
client->fd = safe_close(client->fd);
|
client->fd = safe_close(client->fd);
|
||||||
|
|
||||||
client->state = DHCP_STATE_REBINDING;
|
client->state = DHCP_STATE_REBINDING;
|
||||||
@ -1844,7 +1844,7 @@ static int client_handle_message(sd_dhcp_client *client, DHCPMessage *message, i
|
|||||||
|
|
||||||
client->start_delay = 0;
|
client->start_delay = 0;
|
||||||
(void) event_source_disable(client->timeout_resend);
|
(void) event_source_disable(client->timeout_resend);
|
||||||
client->receive_message = sd_event_source_unref(client->receive_message);
|
client->receive_message = sd_event_source_disable_unref(client->receive_message);
|
||||||
client->fd = safe_close(client->fd);
|
client->fd = safe_close(client->fd);
|
||||||
|
|
||||||
client->state = DHCP_STATE_BOUND;
|
client->state = DHCP_STATE_BOUND;
|
||||||
@ -2226,17 +2226,15 @@ static sd_dhcp_client *dhcp_client_free(sd_dhcp_client *client) {
|
|||||||
|
|
||||||
log_dhcp_client(client, "FREE");
|
log_dhcp_client(client, "FREE");
|
||||||
|
|
||||||
|
client_initialize(client);
|
||||||
|
|
||||||
client->timeout_resend = sd_event_source_unref(client->timeout_resend);
|
client->timeout_resend = sd_event_source_unref(client->timeout_resend);
|
||||||
client->timeout_t1 = sd_event_source_unref(client->timeout_t1);
|
client->timeout_t1 = sd_event_source_unref(client->timeout_t1);
|
||||||
client->timeout_t2 = sd_event_source_unref(client->timeout_t2);
|
client->timeout_t2 = sd_event_source_unref(client->timeout_t2);
|
||||||
client->timeout_expire = sd_event_source_unref(client->timeout_expire);
|
client->timeout_expire = sd_event_source_unref(client->timeout_expire);
|
||||||
|
|
||||||
client_initialize(client);
|
|
||||||
|
|
||||||
sd_dhcp_client_detach_event(client);
|
sd_dhcp_client_detach_event(client);
|
||||||
|
|
||||||
sd_dhcp_lease_unref(client->lease);
|
|
||||||
|
|
||||||
set_free(client->req_opts);
|
set_free(client->req_opts);
|
||||||
free(client->hostname);
|
free(client->hostname);
|
||||||
free(client->vendor_class_identifier);
|
free(client->vendor_class_identifier);
|
||||||
|
|||||||
@ -274,8 +274,8 @@ int sd_dhcp_server_stop(sd_dhcp_server *server) {
|
|||||||
if (!server)
|
if (!server)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
server->receive_message = sd_event_source_unref(server->receive_message);
|
server->receive_message = sd_event_source_disable_unref(server->receive_message);
|
||||||
server->receive_broadcast = sd_event_source_unref(server->receive_broadcast);
|
server->receive_broadcast = sd_event_source_disable_unref(server->receive_broadcast);
|
||||||
|
|
||||||
server->fd_raw = safe_close(server->fd_raw);
|
server->fd_raw = safe_close(server->fd_raw);
|
||||||
server->fd = safe_close(server->fd);
|
server->fd = safe_close(server->fd);
|
||||||
|
|||||||
@ -120,7 +120,7 @@ static void ipv4acd_reset(sd_ipv4acd *acd) {
|
|||||||
assert(acd);
|
assert(acd);
|
||||||
|
|
||||||
(void) event_source_disable(acd->timer_event_source);
|
(void) event_source_disable(acd->timer_event_source);
|
||||||
acd->receive_message_event_source = sd_event_source_unref(acd->receive_message_event_source);
|
acd->receive_message_event_source = sd_event_source_disable_unref(acd->receive_message_event_source);
|
||||||
|
|
||||||
acd->fd = safe_close(acd->fd);
|
acd->fd = safe_close(acd->fd);
|
||||||
|
|
||||||
@ -130,9 +130,8 @@ static void ipv4acd_reset(sd_ipv4acd *acd) {
|
|||||||
static sd_ipv4acd *ipv4acd_free(sd_ipv4acd *acd) {
|
static sd_ipv4acd *ipv4acd_free(sd_ipv4acd *acd) {
|
||||||
assert(acd);
|
assert(acd);
|
||||||
|
|
||||||
acd->timer_event_source = sd_event_source_unref(acd->timer_event_source);
|
|
||||||
|
|
||||||
ipv4acd_reset(acd);
|
ipv4acd_reset(acd);
|
||||||
|
sd_event_source_unref(acd->timer_event_source);
|
||||||
sd_ipv4acd_detach_event(acd);
|
sd_ipv4acd_detach_event(acd);
|
||||||
free(acd->ifname);
|
free(acd->ifname);
|
||||||
return mfree(acd);
|
return mfree(acd);
|
||||||
|
|||||||
@ -239,7 +239,7 @@ static void lldp_reset(sd_lldp *lldp) {
|
|||||||
assert(lldp);
|
assert(lldp);
|
||||||
|
|
||||||
(void) event_source_disable(lldp->timer_event_source);
|
(void) event_source_disable(lldp->timer_event_source);
|
||||||
lldp->io_event_source = sd_event_source_unref(lldp->io_event_source);
|
lldp->io_event_source = sd_event_source_disable_unref(lldp->io_event_source);
|
||||||
lldp->fd = safe_close(lldp->fd);
|
lldp->fd = safe_close(lldp->fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -365,10 +365,11 @@ const char *sd_lldp_get_ifname(sd_lldp *lldp) {
|
|||||||
static sd_lldp* lldp_free(sd_lldp *lldp) {
|
static sd_lldp* lldp_free(sd_lldp *lldp) {
|
||||||
assert(lldp);
|
assert(lldp);
|
||||||
|
|
||||||
lldp->timer_event_source = sd_event_source_unref(lldp->timer_event_source);
|
|
||||||
|
|
||||||
lldp_reset(lldp);
|
lldp_reset(lldp);
|
||||||
|
|
||||||
|
sd_event_source_unref(lldp->timer_event_source);
|
||||||
sd_lldp_detach_event(lldp);
|
sd_lldp_detach_event(lldp);
|
||||||
|
|
||||||
lldp_flush_neighbors(lldp);
|
lldp_flush_neighbors(lldp);
|
||||||
|
|
||||||
hashmap_free(lldp->neighbor_by_id);
|
hashmap_free(lldp->neighbor_by_id);
|
||||||
|
|||||||
@ -133,18 +133,19 @@ static void ndisc_reset(sd_ndisc *nd) {
|
|||||||
(void) event_source_disable(nd->timeout_event_source);
|
(void) event_source_disable(nd->timeout_event_source);
|
||||||
(void) event_source_disable(nd->timeout_no_ra);
|
(void) event_source_disable(nd->timeout_no_ra);
|
||||||
nd->retransmit_time = 0;
|
nd->retransmit_time = 0;
|
||||||
nd->recv_event_source = sd_event_source_unref(nd->recv_event_source);
|
nd->recv_event_source = sd_event_source_disable_unref(nd->recv_event_source);
|
||||||
nd->fd = safe_close(nd->fd);
|
nd->fd = safe_close(nd->fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
static sd_ndisc *ndisc_free(sd_ndisc *nd) {
|
static sd_ndisc *ndisc_free(sd_ndisc *nd) {
|
||||||
assert(nd);
|
assert(nd);
|
||||||
|
|
||||||
nd->timeout_event_source = sd_event_source_unref(nd->timeout_event_source);
|
|
||||||
nd->timeout_no_ra = sd_event_source_unref(nd->timeout_no_ra);
|
|
||||||
|
|
||||||
ndisc_reset(nd);
|
ndisc_reset(nd);
|
||||||
|
|
||||||
|
sd_event_source_unref(nd->timeout_event_source);
|
||||||
|
sd_event_source_unref(nd->timeout_no_ra);
|
||||||
sd_ndisc_detach_event(nd);
|
sd_ndisc_detach_event(nd);
|
||||||
|
|
||||||
free(nd->ifname);
|
free(nd->ifname);
|
||||||
return mfree(nd);
|
return mfree(nd);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -89,8 +89,7 @@ static void radv_reset(sd_radv *ra) {
|
|||||||
|
|
||||||
(void) event_source_disable(ra->timeout_event_source);
|
(void) event_source_disable(ra->timeout_event_source);
|
||||||
|
|
||||||
ra->recv_event_source =
|
ra->recv_event_source = sd_event_source_disable_unref(ra->recv_event_source);
|
||||||
sd_event_source_unref(ra->recv_event_source);
|
|
||||||
|
|
||||||
ra->ra_sent = 0;
|
ra->ra_sent = 0;
|
||||||
}
|
}
|
||||||
@ -116,10 +115,9 @@ static sd_radv *radv_free(sd_radv *ra) {
|
|||||||
free(ra->rdnss);
|
free(ra->rdnss);
|
||||||
free(ra->dnssl);
|
free(ra->dnssl);
|
||||||
|
|
||||||
ra->timeout_event_source = sd_event_source_unref(ra->timeout_event_source);
|
|
||||||
|
|
||||||
radv_reset(ra);
|
radv_reset(ra);
|
||||||
|
|
||||||
|
sd_event_source_unref(ra->timeout_event_source);
|
||||||
sd_radv_detach_event(ra);
|
sd_radv_detach_event(ra);
|
||||||
|
|
||||||
ra->fd = safe_close(ra->fd);
|
ra->fd = safe_close(ra->fd);
|
||||||
|
|||||||
@ -410,7 +410,7 @@ int link_lldp_emit_start(Link *link) {
|
|||||||
void link_lldp_emit_stop(Link *link) {
|
void link_lldp_emit_stop(Link *link) {
|
||||||
assert(link);
|
assert(link);
|
||||||
|
|
||||||
link->lldp_emit_event_source = sd_event_source_unref(link->lldp_emit_event_source);
|
link->lldp_emit_event_source = sd_event_source_disable_unref(link->lldp_emit_event_source);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char * const lldp_emit_table[_LLDP_EMIT_MAX] = {
|
static const char * const lldp_emit_table[_LLDP_EMIT_MAX] = {
|
||||||
|
|||||||
@ -269,7 +269,7 @@ Route *route_free(Route *route) {
|
|||||||
|
|
||||||
ordered_set_free_with_destructor(route->multipath_routes, multipath_route_free);
|
ordered_set_free_with_destructor(route->multipath_routes, multipath_route_free);
|
||||||
|
|
||||||
sd_event_source_unref(route->expire);
|
sd_event_source_disable_unref(route->expire);
|
||||||
|
|
||||||
return mfree(route);
|
return mfree(route);
|
||||||
}
|
}
|
||||||
@ -1261,7 +1261,7 @@ static int route_expire_handler(sd_event_source *s, uint64_t usec, void *userdat
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int route_add_and_setup_timer_one(Link *link, const Route *route, const MultipathRoute *m, const NextHop *nh, uint8_t nh_weight, Route **ret) {
|
static int route_add_and_setup_timer_one(Link *link, const Route *route, const MultipathRoute *m, const NextHop *nh, uint8_t nh_weight, Route **ret) {
|
||||||
_cleanup_(sd_event_source_unrefp) sd_event_source *expire = NULL;
|
_cleanup_(sd_event_source_disable_unrefp) sd_event_source *expire = NULL;
|
||||||
Route *nr;
|
Route *nr;
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
@ -1299,7 +1299,7 @@ static int route_add_and_setup_timer_one(Link *link, const Route *route, const M
|
|||||||
return log_link_error_errno(link, r, "Could not arm expiration timer: %m");
|
return log_link_error_errno(link, r, "Could not arm expiration timer: %m");
|
||||||
}
|
}
|
||||||
|
|
||||||
sd_event_source_unref(nr->expire);
|
sd_event_source_disable_unref(nr->expire);
|
||||||
nr->expire = TAKE_PTR(expire);
|
nr->expire = TAKE_PTR(expire);
|
||||||
|
|
||||||
*ret = nr;
|
*ret = nr;
|
||||||
|
|||||||
@ -59,6 +59,11 @@ Link.UDPSegmentationOffload, config_parse_warn_compat,
|
|||||||
Link.GenericReceiveOffload, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_GRO])
|
Link.GenericReceiveOffload, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_GRO])
|
||||||
Link.GenericReceiveOffloadHardware, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_GRO_HW])
|
Link.GenericReceiveOffloadHardware, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_GRO_HW])
|
||||||
Link.LargeReceiveOffload, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_LRO])
|
Link.LargeReceiveOffload, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_LRO])
|
||||||
|
Link.ReceiveVLANCTAGHardwareAcceleration, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_HW_VLAN_CTAG_RX])
|
||||||
|
Link.TransmitVLANCTAGHardwareAcceleration, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_HW_VLAN_CTAG_TX])
|
||||||
|
Link.ReceiveVLANCTAGFilter, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_HW_VLAN_CTAG_FILTER])
|
||||||
|
Link.TransmitVLANSTAGHardwareAcceleration, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_HW_VLAN_STAG_TX])
|
||||||
|
Link.NTupleFilter, config_parse_tristate, 0, offsetof(LinkConfig, features[NET_DEV_FEAT_NTUPLE])
|
||||||
Link.RxChannels, config_parse_ring_buffer_or_channel, 0, offsetof(LinkConfig, channels.rx)
|
Link.RxChannels, config_parse_ring_buffer_or_channel, 0, offsetof(LinkConfig, channels.rx)
|
||||||
Link.TxChannels, config_parse_ring_buffer_or_channel, 0, offsetof(LinkConfig, channels.tx)
|
Link.TxChannels, config_parse_ring_buffer_or_channel, 0, offsetof(LinkConfig, channels.tx)
|
||||||
Link.OtherChannels, config_parse_ring_buffer_or_channel, 0, offsetof(LinkConfig, channels.other)
|
Link.OtherChannels, config_parse_ring_buffer_or_channel, 0, offsetof(LinkConfig, channels.other)
|
||||||
|
|||||||
@ -38,6 +38,11 @@ UDPSegmentationOffload=
|
|||||||
GenericReceiveOffload=
|
GenericReceiveOffload=
|
||||||
GenericReceiveOffloadHardware=
|
GenericReceiveOffloadHardware=
|
||||||
LargeReceiveOffload=
|
LargeReceiveOffload=
|
||||||
|
ReceiveVLANCTAGHardwareAcceleration=
|
||||||
|
TransmitVLANCTAGHardwareAcceleration=
|
||||||
|
ReceiveVLANCTAGFilter=
|
||||||
|
TransmitVLANSTAGHardwareAcceleration=
|
||||||
|
NTupleFilter=
|
||||||
RxChannels=
|
RxChannels=
|
||||||
TxChannels=
|
TxChannels=
|
||||||
OtherChannels=
|
OtherChannels=
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user