diff options
author | Steven Noonan <steven@uplinklabs.net> | 2014-06-19 10:41:57 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-19 20:40:20 +0200 |
commit | ae941762628441fb3d624a57eee8d1a5c15096cf (patch) | |
tree | ac53f61cc183a204b9725b750949a0b0ae7b78df /src/network | |
parent | a55954297dade7b432fd3a4f328f23261621ff79 (diff) |
networkd: fix refcounting with UseMTU=yes
The link was unintentionally being unreferenced instead of referenced for the
MTU setup.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 5ab7aa7d19..664cc07c72 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -871,7 +871,7 @@ static int link_set_mtu(Link *link, uint32_t mtu) { return r; } - link_unref(link); + link_ref(link); return 0; } |