diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-08-30 14:18:00 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-09-04 18:36:54 +0200 |
commit | d098e0527a88330d28a15f77f4fbedf1f7ac6f59 (patch) | |
tree | c2c92e969675bcb51e089baaef48b08e371bb58c | |
parent | 026fb71d1dde60135d95741552906fd5320384bc (diff) | |
download | passt-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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |