diff --git a/net/proto_tcp/proto_tcp.c b/net/proto_tcp/proto_tcp.c index 8ebaa86de11..199076a4520 100644 --- a/net/proto_tcp/proto_tcp.c +++ b/net/proto_tcp/proto_tcp.c @@ -603,7 +603,7 @@ static int async_tsend_stream(struct tcp_connection *c, } } - if (pf.events&POLLOUT) + if (pf.revents&POLLOUT) goto again; /* some other events triggered by poll - treat as errors */