diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-11-07 13:42:48 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-11-07 09:54:15 +0100 |
commit | 69db3b3b2943ab791786dccc2f35a0284e0a531d (patch) | |
tree | 80d2a59502ac1ea6dc185bea18e131378754e0e1 /log.c | |
parent | 1b762571475476cbbee09f7dc3bce3f1a4c09f49 (diff) | |
download | passt-69db3b3b2943ab791786dccc2f35a0284e0a531d.tar passt-69db3b3b2943ab791786dccc2f35a0284e0a531d.tar.gz passt-69db3b3b2943ab791786dccc2f35a0284e0a531d.tar.bz2 passt-69db3b3b2943ab791786dccc2f35a0284e0a531d.tar.lz passt-69db3b3b2943ab791786dccc2f35a0284e0a531d.tar.xz passt-69db3b3b2943ab791786dccc2f35a0284e0a531d.tar.zst passt-69db3b3b2943ab791786dccc2f35a0284e0a531d.zip |
tcp_splice: Exploit side symmetry in tcp_splice_connect_finish()
tcp_splice_connect_finish() has two very similar blocks opening the two
pipes for each direction of the connection. We can deduplicate this with
a loop across the two sides.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'log.c')
0 files changed, 0 insertions, 0 deletions