summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-10-29 16:35:37 +0100
committerTom Gundersen <teg@jklm.no>2013-10-29 16:37:30 +0100
commit98dd77e86e0cc339543cc8711ff908e6929f0636 (patch)
treebf17c71b1ec239b66cbe46f4f49466b326ca6b1f /src/udev
parentf1ac700248f231b7bdac2aafe8c35650efddb89f (diff)
rtnl: introduce default timeout
We set it to 10 secs (as we are only communicating with the kernel, it seems we should be able to bail out sooner than sd-bus, which uses 25). When passing timout 0, the default is used, use this in link-config.
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/net/link-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c
index a86c74d5f7..9d6c96b5a5 100644
--- a/src/udev/net/link-config.c
+++ b/src/udev/net/link-config.c
@@ -293,7 +293,7 @@ static int rtnl_set_properties(sd_rtnl *rtnl, int ifindex, const char *name, con
}
if (need_update) {
- r = sd_rtnl_send_with_reply_and_block(rtnl, message, 5 * USEC_PER_SEC, NULL);
+ r = sd_rtnl_send_with_reply_and_block(rtnl, message, 0, NULL);
if (r < 0)
return r;
}