diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-01-06 11:43:09 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-01-23 18:54:36 +0100 |
commit | a79e77477095486b782374255b081e703a4102a9 (patch) | |
tree | 14239dd7943b8a27c26269803f61ce7a35e98632 /passt.c | |
parent | f1d2d3541689e099c6d360204b1afa662437695d (diff) | |
download | passt-a79e77477095486b782374255b081e703a4102a9.tar passt-a79e77477095486b782374255b081e703a4102a9.tar.gz passt-a79e77477095486b782374255b081e703a4102a9.tar.bz2 passt-a79e77477095486b782374255b081e703a4102a9.tar.lz passt-a79e77477095486b782374255b081e703a4102a9.tar.xz passt-a79e77477095486b782374255b081e703a4102a9.tar.zst passt-a79e77477095486b782374255b081e703a4102a9.zip |
tcp: Improve interface to tcp_l2_buf_flush()
Currently this takes a msghdr, but the only thing we actually care
about in there is the io vector. Make it take an io vector directly.
We also have a weird side effect of zeroing @buf_used. Just pass this
by value and zero it in the caller instead.
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