diff options
author | 2021-02-12 15:22:14 -0800 | |
---|---|---|
committer | 2021-02-12 17:28:26 -0800 | |
commit | 05dc72aba364d374a27de567fac58c199ff5ee97 (patch) | |
tree | 22d94eb4e97e02482f4528a7590f112f819a10ac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tcp: fix SO_RCVLOWAT related hangs under mem pressure (diff) | |
download | wireguard-linux-05dc72aba364d374a27de567fac58c199ff5ee97.tar.xz wireguard-linux-05dc72aba364d374a27de567fac58c199ff5ee97.zip |
tcp: factorize logic into tcp_epollin_ready()
Both tcp_data_ready() and tcp_stream_is_readable() share the same logic.
Add tcp_epollin_ready() helper to avoid duplication.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Arjun Roy <arjunroy@google.com>
Cc: Wei Wang <weiwan@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions