aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-08-30 14:18:00 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-09-04 18:36:54 +0200
commitd098e0527a88330d28a15f77f4fbedf1f7ac6f59 (patch)
treec2c92e969675bcb51e089baaef48b08e371bb58c
parent026fb71d1dde60135d95741552906fd5320384bc (diff)
downloadpasst-d098e0527a88330d28a15f77f4fbedf1f7ac6f59.tar
passt-d098e0527a88330d28a15f77f4fbedf1f7ac6f59.tar.gz
passt-d098e0527a88330d28a15f77f4fbedf1f7ac6f59.tar.bz2
passt-d098e0527a88330d28a15f77f4fbedf1f7ac6f59.tar.lz
passt-d098e0527a88330d28a15f77f4fbedf1f7ac6f59.tar.xz
passt-d098e0527a88330d28a15f77f4fbedf1f7ac6f59.tar.zst
passt-d098e0527a88330d28a15f77f4fbedf1f7ac6f59.zip
additional debug
-rw-r--r--tcp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tcp.c b/tcp.c
index 7b3376f..72c8a94 100644
--- a/tcp.c
+++ b/tcp.c
@@ -2221,6 +2221,12 @@ void tcp_sock_handler(struct ctx *c, union epoll_ref ref, uint32_t events)
ASSERT(!c->no_tcp);
ASSERT(pif_at_sidx(ref.flowside) != PIF_TAP);
+ if (events & EPOLLRDHUP) {
+ flow_err(conn, "EPOLLRDHUP: events=0x%x conn->events=0x%x "
+ "conn->flags=0x%x\n", events, conn->events,
+ conn->flags);
+ }
+
if (conn->events == CLOSED)
return;