diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-05-01 16:53:53 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-05-02 16:13:34 +0200 |
commit | eea5d3ef2d797573fa390d7bbbd4518a529d9579 (patch) | |
tree | 5b5cef9c45a9072781c1ec8123c829c41a5fd238 /contrib/apparmor/usr.bin.pasta | |
parent | 35598995869b0966eb97a16411d6ba5053005431 (diff) | |
download | passt-eea5d3ef2d797573fa390d7bbbd4518a529d9579.tar passt-eea5d3ef2d797573fa390d7bbbd4518a529d9579.tar.gz passt-eea5d3ef2d797573fa390d7bbbd4518a529d9579.tar.bz2 passt-eea5d3ef2d797573fa390d7bbbd4518a529d9579.tar.lz passt-eea5d3ef2d797573fa390d7bbbd4518a529d9579.tar.xz passt-eea5d3ef2d797573fa390d7bbbd4518a529d9579.tar.zst passt-eea5d3ef2d797573fa390d7bbbd4518a529d9579.zip |
tcp: Update tap specific header too in tcp_fill_headers[46]()
tcp_fill_headers[46]() fill most of the headers, but the tap specific
header (the frame length for qemu sockets) is filled in afterwards.
Filling this as well:
* Removes a little redundancy between the tcp_send_flag() and
tcp_data_to_tap() path
* Makes calculation of the correct length a little easier
* Removes the now misleadingly named 'vnet_len' variable in
tcp_send_flag()
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/apparmor/usr.bin.pasta')
0 files changed, 0 insertions, 0 deletions