sd-device: do not change buffer size if the socket is already bound
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 8 Dec 2018 09:50:40 +0000 (18:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 14 Dec 2018 00:33:06 +0000 (09:33 +0900)
commit903893237a2105b05671fe87b8f5d5e7417040d2
tree381cce9a3d51bd63e1583a091ae7c41b95705db3
parentc821e84ac70186a72a8951289c008025d656000f
sd-device: do not change buffer size if the socket is already bound

From the results of CIs in #11076, changing buffer size may cause
issue #10754. So, let's prohibit to change the size if it is already
bound.

This also reverts commit 986ab0d2dc161dfa026e8fc7a609f9efb8cb4397.
src/libsystemd/sd-device/device-monitor.c
src/udev/udevd.c