summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/udev/udevd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index a6258e714a..aaa806aa27 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);