diff options
author | Eric Dumazet <[email protected]> | 2022-03-02 08:17:23 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-03-02 22:49:03 -0800 |
commit | e3d5ea2c011ecb16fb94c56a659364e6b30fac94 (patch) | |
tree | 361ec8c7f3966ec8bf73cf545132efb58aaa730f /net/unix/af_unix.c | |
parent | 60ce37b03917e593d8e5d8bcc7ec820773daf81d (diff) |
tcp: make tcp_read_sock() more robust
If recv_actor() returns an incorrect value, tcp_read_sock()
might loop forever.
Instead, issue a one time warning and make sure to make progress.
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: John Fastabend <[email protected]>
Acked-by: Jakub Sitnicki <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions