]> git.proxmox.com Git - systemd.git/commit
socket: make sure that the name for per-connection services are unique
authorLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 02:07:26 +0000 (03:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 14 Mar 2012 02:07:26 +0000 (03:07 +0100)
commit77b088c211a0939cb94969b487e5746bb05d12ae
treec3db653b4f1545f0fb4f98e2fb0c6f85d387465f
parent9586cdfab6a2638078702b7fea7e16b3a71899e2
socket: make sure that the name for per-connection services are unique

If a client connects to us repeatedly always using the same source port
and we instantiate a service for the incoming connection this might
clash with an old instance. Hence, include the connection number, the
same way we do it for AF_UNIX to make connections unique.

https://bugs.freedesktop.org/show_bug.cgi?id=45297
src/socket.c