aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2021-02-12 23:22:14 +0000
committerDavid S. Miller <[email protected]>2021-02-13 01:28:26 +0000
commit05dc72aba364d374a27de567fac58c199ff5ee97 (patch)
tree22d94eb4e97e02482f4528a7590f112f819a10ac /net/switchdev/switchdev.c
parenttcp: fix SO_RCVLOWAT related hangs under mem pressure (diff)
downloadkernel-05dc72aba364d374a27de567fac58c199ff5ee97.tar.gz
kernel-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 <[email protected]> Cc: Arjun Roy <[email protected]> Cc: Wei Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions