diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-01-06 11:43:10 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-01-23 18:54:39 +0100 |
commit | e21ee41ac35a268009ad616df8e9d15d99825050 (patch) | |
tree | 668a47759821a8417b009a2c40be5262ca20e4af /passt.c | |
parent | a79e77477095486b782374255b081e703a4102a9 (diff) | |
download | passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.gz passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.bz2 passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.lz passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.xz passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.zst passt-e21ee41ac35a268009ad616df8e9d15d99825050.zip |
tcp: Combine two parts of pasta tap send path together
tcp_l2_buf_flush() open codes the loop across each frame in a group, but
but calls tcp_l2_buf_write_one() to send each frame to the pasta tuntap
device. Combine these two pasta-specific operations into
tcp_l2_buf_flush_pasta() which is a little cleaner and will enable further
cleanups.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
0 files changed, 0 insertions, 0 deletions