aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-07-04 14:50:36 -0700
committerDavid S. Miller <[email protected]>2019-07-07 14:11:44 -0700
commit13aecb17acabc2a92187d08f7ca93bb8aad62c6f (patch)
treec2af474db0ca07e784e760348511260f93d66b1d /tools/perf/util/scripting-engines/trace-event-python.c
parent537de0c8ca2b2fd49046e06194425f56e6246148 (diff)
net/tls: fix poll ignoring partially copied records
David reports that RPC applications which use epoll() occasionally get stuck, and that TLS ULP causes the kernel to not wake applications, even though read() will return data. This is indeed true. The ctx->rx_list which holds partially copied records is not consulted when deciding whether socket is readable. Note that SO_RCVLOWAT with epoll() is and has always been broken for kernel TLS. We'd need to parse all records from the TCP layer, instead of just the first one. Fixes: 692d7b5d1f91 ("tls: Fix recvmsg() to be able to peek across multiple records") Reported-by: David Beckett <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions