diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2025-01-16 20:31:35 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-01-16 21:15:33 +0100 |
commit | 22cf08ba00890c83922c61f5d65803b7f4c1299a (patch) | |
tree | 7380cbc3578f0dd22f8657f2c774f231049fa819 | |
parent | 707f77b0a93160c8695b3cf5bfd7c24d9992b106 (diff) | |
download | passt-22cf08ba00890c83922c61f5d65803b7f4c1299a.tar passt-22cf08ba00890c83922c61f5d65803b7f4c1299a.tar.gz passt-22cf08ba00890c83922c61f5d65803b7f4c1299a.tar.bz2 passt-22cf08ba00890c83922c61f5d65803b7f4c1299a.tar.lz passt-22cf08ba00890c83922c61f5d65803b7f4c1299a.tar.xz passt-22cf08ba00890c83922c61f5d65803b7f4c1299a.tar.zst passt-22cf08ba00890c83922c61f5d65803b7f4c1299a.zip |
tcp: Don't subscribe to EPOLLOUT events on STALLED
I inadvertently added that in an unrelated change, but it doesn't make
sense: STALLED means we have pending socket data that we can't write
to the guest, not the other way around.
Fixes: bb708111833e ("treewide: Packet abstraction with mandatory boundary checks")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -437,7 +437,7 @@ static uint32_t tcp_conn_epoll_events(uint8_t events, uint8_t conn_flags) return EPOLLET; if (conn_flags & STALLED) - return EPOLLIN | EPOLLOUT | EPOLLRDHUP | EPOLLET; + return EPOLLIN | EPOLLRDHUP | EPOLLET; return EPOLLIN | EPOLLRDHUP; } |