mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
networkd: fix refcounting with UseMTU=yes
The link was unintentionally being unreferenced instead of referenced for the MTU setup.
This commit is contained in:
parent
a55954297d
commit
ae94176262
@ -871,7 +871,7 @@ static int link_set_mtu(Link *link, uint32_t mtu) {
|
||||
return r;
|
||||
}
|
||||
|
||||
link_unref(link);
|
||||
link_ref(link);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user