chiark / gitweb /
rtnl: introduce default timeout
authorTom Gundersen <teg@jklm.no>
Tue, 29 Oct 2013 15:35:37 +0000 (16:35 +0100)
committerTom Gundersen <teg@jklm.no>
Tue, 29 Oct 2013 15:37:30 +0000 (16:37 +0100)
commit98dd77e86e0cc339543cc8711ff908e6929f0636
treebf17c71b1ec239b66cbe46f4f49466b326ca6b1f
parentf1ac700248f231b7bdac2aafe8c35650efddb89f
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.
src/libsystemd-rtnl/rtnl-internal.h
src/libsystemd-rtnl/sd-rtnl.c
src/udev/net/link-config.c