1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 10:51:20 +03:00

udevd: don't set receive buffer size when socket activated

The socket unit does this, so no need to redo it in udevd.
This commit is contained in:
Tom Gundersen 2014-11-28 16:58:32 +01:00
parent eb56eb9b40
commit 6872b0ddc4

View File

@ -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);