summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-11-28 16:58:32 +0100
committerTom Gundersen <teg@jklm.no>2014-11-28 17:41:58 +0100
commit6872b0ddc4b748ba2dbe7e74e3bbde46d17a2656 (patch)
treeee672ed31709a2dde1e00a8113f4839b93d7ff15 /src
parenteb56eb9b40950f1edcffdb7313f8de4f8572a6d5 (diff)
udevd: don't set receive buffer size when socket activated
The socket unit does this, so no need to redo it in udevd.
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);