chiark / gitweb /
sd-rtnl: don't fail event handler when callback fails
authorTom Gundersen <teg@jklm.no>
Thu, 29 Jan 2015 06:26:58 +0000 (07:26 +0100)
committerTom Gundersen <teg@jklm.no>
Sat, 31 Jan 2015 14:26:08 +0000 (15:26 +0100)
commit233ba5c3a0f73e01fe6149fd8c377826a83c2a0a
tree9ddd7b42550e4b708244e86cb8557039f293277c
parent81f5fc2d43800c23a4440ed94cfe38d579e896fe
sd-rtnl: don't fail event handler when callback fails

As in sd-bus, simply log at debug level when a callback fails, but don't fail the event handler.
Otherwise any error returned by any callback will disable the rtnl event handler. We should
only do that on serious internal errors in sd-rtnl that we know cannot be recovered from.
src/libsystemd/sd-rtnl/sd-rtnl.c