commit | 77db537995be8bcab215a99bc9c1b51066b56557 | [log] [tgz] |
---|---|---|
author | Akihiko Odaki <akihiko.odaki@daynix.com> | Sun Apr 28 16:00:49 2024 +0900 |
committer | Jason Wang <jasowang@redhat.com> | Tue Jun 04 15:14:26 2024 +0800 |
tree | 1ce0bdff16f20a13bd75a98b558855d66b90270c | |
parent | 336a058b26bb5229070f1e10ba0f63ae35420adc [diff] |
tap: Shrink zeroed virtio-net header tap prepends a zeroed virtio-net header when writing a packet to a tap with virtio-net header enabled but not in use. This only happens when s->host_vnet_hdr_len == sizeof(struct virtio_net_hdr). Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>