]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevd: do not set buffer size if the socket is passed from pid1
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 25 Nov 2018 06:04:26 +0000 (15:04 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 25 Nov 2018 11:17:25 +0000 (20:17 +0900)
commit986ab0d2dc161dfa026e8fc7a609f9efb8cb4397
tree6fa0cc240de60f5341b248c833ecd2520b10a475
parent916707cca56ac73c81d10c41b6d7f0800663fc29
udevd: do not set buffer size if the socket is passed from pid1

Before c4b69e990f962128cc6975e36e91e9ad838fa2c4, if the socket fd is
passed from pid1, `udev_monitor_set_receive_buffer_size()` (now it is
a wrapper of `sd_device_monitor_set_receive_buffer_size()`) was not
called. Let's preserve the original logic.
src/udev/udevd.c