chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a559542
)
networkd: fix refcounting with UseMTU=yes
author
Steven Noonan
<steven@uplinklabs.net>
Thu, 19 Jun 2014 17:41:57 +0000
(10:41 -0700)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 19 Jun 2014 18:40:20 +0000
(20:40 +0200)
The link was unintentionally being unreferenced instead of referenced for the
MTU setup.
src/network/networkd-link.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-link.c
b/src/network/networkd-link.c
index 5ab7aa7d19f7000b2329d5cbba8497581d37694e..664cc07c724ceb39d6bf63a568d30e5273353504 100644
(file)
--- 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_
un
ref(link);
+ link_ref(link);
return 0;
}