diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-09-13 08:31:19 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-09-13 08:31:19 -0400 |
commit | 0dc651610248c873e584cbe8afb9495241cdb622 (patch) | |
tree | ea7d7d217d8bb1c22467ca936b8b7e07b8d6a8eb /src/udev | |
parent | 3b717594600fa717cdf9bcfd0c7c1b703b245482 (diff) |
skip udev: event - keep one rtnl per worker, rather than per event
This commit follows upstream's
4c83d994566718043e61e568cc214bdc4587f869
We adopt their removal of excessive logging, but we do not switch
to one rtnl per worker, rather than per event. This maintains
code separation between libsystemd and udev code. The disadvantage
is that we do not get the cost savings of having one rtnl per
worker rather than per event.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-event.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c index b2532d01ad..0aa43d3a2b 100644 --- a/src/udev/udev-event.c +++ b/src/udev/udev-event.c @@ -762,9 +762,6 @@ static int rename_netif_dev_fromname_toname(struct udev_device *dev,const char * struct ifreq ifr; int err; - log_debug("changing net interface name from '%s' to '%s'\n", - oldname, newname); - sk = socket(PF_INET, SOCK_DGRAM, 0); if (sk < 0) { err = -errno; @@ -959,8 +956,6 @@ void udev_event_execute_rules(struct udev_event *event, r = rename_netif(event); #endif if (r >= 0) { - log_debug("renamed netif to '%s'", finalifname); - /* remember old name */ udev_device_add_property(dev, "INTERFACE_OLD", udev_device_get_sysname(dev)); |