]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: event - keep one rtnl per worker, rather than per event
authorTom Gundersen <teg@jklm.no>
Tue, 9 Sep 2014 09:15:37 +0000 (11:15 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 9 Sep 2014 13:30:10 +0000 (15:30 +0200)
commit4c83d994566718043e61e568cc214bdc4587f869
tree19d720648aee971cc588171d887e1bd4dff889db
parentb081b27e1433cdc7ac72b25ae8b4db887d79187f
udev: event - keep one rtnl per worker, rather than per event

Creating the rtnl context is cheap, but freeing it may not be, due to
synchronous close().

Also drop some excessive logging. We now log about the changing ifname
exactly once.
src/libsystemd/sd-rtnl/rtnl-util.c
src/libsystemd/sd-rtnl/rtnl-util.h
src/udev/udev-event.c
src/udev/udev.h
src/udev/udevd.c