]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/socket: do not assign another fd to SocketPort which already has a fd on deseria...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Jun 2021 01:23:47 +0000 (10:23 +0900)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Jun 2021 16:23:47 +0000 (18:23 +0200)
commit3da0caf5bbf3c8cab716c4d7adf0eb25907dc951
treec1cb42189bc38be88114d6b8cd0d0a81e5e9b962
parentfd5f48af5c528bac32e822d6c73634e753c3c956
core/socket: do not assign another fd to SocketPort which already has a fd on deserialization

Otherwise, if a socket address is duplicated, then the previous fd is
closed.

Fixes #19843.
src/core/socket.c