From 76f14ecafc6f47f02d156c2fef4360b597c8ba4b Mon Sep 17 00:00:00 2001 From: Justin Newman Date: Thu, 7 Jun 2018 10:15:43 -0400 Subject: [PATCH] CPATL-1254: TCP pollout event check fix --- net/proto_tcp/proto_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */