[systemd-commits] src/udev
Tom Gundersen
tomegun at kemper.freedesktop.org
Fri Nov 28 08:43:53 PST 2014
src/udev/udevd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6872b0ddc4b748ba2dbe7e74e3bbde46d17a2656
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Nov 28 16:58:32 2014 +0100
udevd: don't set receive buffer size when socket activated
The socket unit does this, so no need to redo it in udevd.
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index a6258e7..aaa806a 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1211,6 +1211,8 @@ int main(int argc, char *argv[]) {
goto exit;
}
fd_netlink = udev_monitor_get_fd(monitor);
+
+ udev_monitor_set_receive_buffer_size(monitor, 128 * 1024 * 1024);
}
if (udev_monitor_enable_receiving(monitor) < 0) {
@@ -1225,8 +1227,6 @@ int main(int argc, char *argv[]) {
goto exit;
}
- udev_monitor_set_receive_buffer_size(monitor, 128 * 1024 * 1024);
-
log_info("starting version " VERSION);
udev_builtin_init(udev);
More information about the systemd-commits
mailing list