chiark / gitweb /
networkd: link - don't react to successfull link up
authorTom Gundersen <teg@jklm.no>
Tue, 22 Apr 2014 17:36:40 +0000 (19:36 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 22 Apr 2014 19:06:00 +0000 (21:06 +0200)
commit45ad2c132827b0ab5854ec52068659f246c59cf8
tree453075c4ddf68380b40561059f0b9308750e8afc
parent124fa2c601c6fbbc3751b744c6f68bd522e0c588
networkd: link - don't react to successfull link up

Avoid having two code-paths racing with eacother to do the same thing. The change
of flags will be detected in the normal way, so only use the link_up_handler
to detect if the 'up' failed and in that case fail the link.
src/network/networkd-link.c