aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2025-05-07 11:33:38 +0200
committerStefano Brivio <sbrivio@redhat.com>2025-05-07 11:43:01 +0200
commitd299cf7646e7d82fe6129135a85ebec785fa4c30 (patch)
tree6baabb9fd1c92144b0de97efece4a7c9d0954cca
parent44bd27e6ae9cd1eda6142b197be05abd2dfd7e7a (diff)
downloadpasst-podman_26073.tar
passt-podman_26073.tar.gz
passt-podman_26073.tar.bz2
passt-podman_26073.tar.lz
passt-podman_26073.tar.xz
passt-podman_26073.tar.zst
passt-podman_26073.zip
Likely fix by Laurentpodman_26073
Link: https://github.com/containers/podman/issues/26073#issuecomment-2857803363 Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--udp_flow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/udp_flow.c b/udp_flow.c
index bc12240..c5fbb43 100644
--- a/udp_flow.c
+++ b/udp_flow.c
@@ -98,6 +98,10 @@ static int udp_flow_sock(const struct ctx *c,
if (flowside_connect(c, s, pif, side) < 0) {
int rc = -errno;
+
+ if (pif == PIF_HOST)
+ epoll_del(c, s);
+
flow_dbg_perror(uflow, "Couldn't connect flow socket");
return rc;
}