Fix bug 202, where a race condition could cause connections to be incorrectly reset in certain circumstances. Patch 2/6 is the bug fix proper. 1/6 improves error reporting and debugging messages in the vicinity. Patches 3..6/6 are some cleanups I noticed in the area while working on the fix. Link: https://bugs.passt.top/show_bug.cgi?id=202 David Gibson (6): tcp_splice: Improve error reporting tcp_splice: Avoid missing EOF recognition while forwarding tcp_splice: Clean up flow control path for splice forwarding tcp_splice: Simplify tracking of read/written bytes tcp_splice: Simplify EPOLLRDHUP / eof / FIN handling tcp_splice: Simplify shutdown(2) handling tcp_conn.h | 6 +- tcp_splice.c | 180 +++++++++++++++++++++++++++------------------------ 2 files changed, 97 insertions(+), 89 deletions(-) -- 2.54.0