resolved: prorize rtnl and sd-network event sources
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2016 12:36:33 +0000 (13:36 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2016 13:42:04 +0000 (14:42 +0100)
commit2d8950384f3137aafcce22b29912b2b61e6d86fb
treec8ca51d1be7ace19b183866b894e299f5a430ebf
parenteac7cda2114cb07031ac277c210896eb68bbd619
resolved: prorize rtnl and sd-network event sources

Lets make sure we always take notice of network changes before answering client requests.

This way, calls like SetLinkDNS() become race-free as the specified interface index is guarantee to have been processed
if it exists before we make changes to it.
src/resolve/resolved-manager.c