BUG/MINOR: seemless reload: Fix crash when an interface is specified.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 15 Mar 2018 16:48:49 +0000 (17:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Mar 2018 11:10:53 +0000 (12:10 +0100)
commit33e083c92e883963beed72ceaea8d12562a7a7ff
tree6150ed8ac119e58e0ffed2f3b3ec55ed446d3d11
parent210eb259bfb2851c4af8ce7bd6f76ff68ce92661
BUG/MINOR: seemless reload: Fix crash when an interface is specified.

When doing a seemless reload, while receiving the sockets from the old process
the new process will die if the socket has been bound to a specific
interface.
This happens because the code that tries to parse the informations bogusly
try to set xfer_sock->namespace, while it should be setting wfer_sock->iface.

This should be backported to 1.8.
src/haproxy.c