aboutgitcodebugslistschat
path: root/contrib/qemu/git:
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-05-28 15:02:10 +1000
committerStefano Brivio <sbrivio@redhat.com>2026-06-04 06:35:23 +0200
commitcd61ad02d4181e8fa34e2bcb8f8436fd9a64714b (patch)
treeb9b0f3b6811acc345352b910bf9b9a363e7d0912 /contrib/qemu/git:
parent987ac99098480d403b8aa922736c239a4aa6de1b (diff)
downloadpasst-cd61ad02d4181e8fa34e2bcb8f8436fd9a64714b.tar
passt-cd61ad02d4181e8fa34e2bcb8f8436fd9a64714b.tar.gz
passt-cd61ad02d4181e8fa34e2bcb8f8436fd9a64714b.tar.bz2
passt-cd61ad02d4181e8fa34e2bcb8f8436fd9a64714b.tar.lz
passt-cd61ad02d4181e8fa34e2bcb8f8436fd9a64714b.tar.xz
passt-cd61ad02d4181e8fa34e2bcb8f8436fd9a64714b.tar.zst
passt-cd61ad02d4181e8fa34e2bcb8f8436fd9a64714b.zip
tcp_splice: Simplify shutdown(2) handling
At the end of tcp_splice_forward(), we check for half-closed connections in either direction and propagate the FIN to the other side with a shutdown(2). However, it's unnecessary to check both directions: a FIN from side X will cause an EPOLLRDUP on side X's socket, which will trigger tcp_splice_forward() from side X to side !X. Likewise for the other side. So we only need to check for "forward" FIN propagation. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/qemu/git:')
0 files changed, 0 insertions, 0 deletions