diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-01-06 11:43:07 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-01-23 18:54:30 +0100 |
commit | 99f0be3cad2292c61c79cef1afeb5cc2ba8507c2 (patch) | |
tree | 11be271019cbc3c565775e16cb09e74770f32132 /udp.c | |
parent | d3089eb0eab412e34bd91f7853e3e72429912edb (diff) | |
download | passt-99f0be3cad2292c61c79cef1afeb5cc2ba8507c2.tar passt-99f0be3cad2292c61c79cef1afeb5cc2ba8507c2.tar.gz passt-99f0be3cad2292c61c79cef1afeb5cc2ba8507c2.tar.bz2 passt-99f0be3cad2292c61c79cef1afeb5cc2ba8507c2.tar.lz passt-99f0be3cad2292c61c79cef1afeb5cc2ba8507c2.tar.xz passt-99f0be3cad2292c61c79cef1afeb5cc2ba8507c2.tar.zst passt-99f0be3cad2292c61c79cef1afeb5cc2ba8507c2.zip |
tcp: Combine two parts of passt tap send path together
tcp_l2_buf_flush() open codes the "primary" send of message to the passt
tap interface, but calls tcp_l2_buf_flush_part() to handle the case of a
short send. Combine these two passt-specific operations into
tcp_l2_buf_flush_passt() which is a little cleaner and will enable furrther
cleanups.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
0 files changed, 0 insertions, 0 deletions