| commit | 2a5f744ef200c02b10775b92c7c82e40558cc413 | [log] [tgz] |
|---|---|---|
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | Fri Mar 24 18:54:34 2023 +0900 |
| committer | Jason Wang <jasowang@redhat.com> | Tue Mar 28 13:10:55 2023 +0800 |
| tree | e55d611cbeb7578a5f1a87315ac1a7fd42275ee8 | |
| parent | 4cf3a63849c24021bf5a023d94c797acbb89b5b8 [diff] |
hw/net/net_tx_pkt: Align l3_hdr
Align the l3_hdr member of NetTxPkt by defining it as a union of
ip_header, ip6_header, and an array of octets.
Fixes: e263cd49c7 ("Packet abstraction for VMWARE network devices")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1544
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>