diff options
author | David Howells <[email protected]> | 2023-06-07 19:19:15 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-08 19:40:31 -0700 |
commit | 951ace9951382a90a56e98590e0b9b651e7579b4 (patch) | |
tree | 46cc772caaf1db0139b1d1c86360fb4b5987e860 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | c289a1601abd7313ef08ec13184df385cfb4d388 (diff) |
kcm: Use splice_eof() to flush
Allow splice to undo the effects of MSG_MORE after prematurely ending a
splice/sendfile due to getting an EOF condition (->splice_read() returned
0) after splice had called sendmsg() with MSG_MORE set when the user didn't
set MSG_MORE.
Suggested-by: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/CAHk-=wh=V579PDYvkpnTobCLGczbgxpMgGmmhqiTyE34Cpi5Gg@mail.gmail.com/
Signed-off-by: David Howells <[email protected]>
cc: Tom Herbert <[email protected]>
cc: Tom Herbert <[email protected]>
cc: Cong Wang <[email protected]>
cc: Jens Axboe <[email protected]>
cc: Matthew Wilcox <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions