diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-02-23 19:20:00 +0900 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2023-03-10 15:35:38 +0800 |
| commit | 235f2eee8298ba2d1fbb4315187dcad7c3773ae8 (patch) | |
| tree | 03f3c652f9fa97e35750b221ee4aadb2108f728d /net/net.c | |
| parent | 8a35c648ac669e515a5dd71d46de09b2b1cc28c2 (diff) | |
| download | focaccia-qemu-235f2eee8298ba2d1fbb4315187dcad7c3773ae8.tar.gz focaccia-qemu-235f2eee8298ba2d1fbb4315187dcad7c3773ae8.zip | |
e1000e: Introduce e1000_rx_desc_union
Before this change, e1000e_write_packet_to_guest() allocated the receive descriptor buffer as an array of uint8_t. This does not ensure the buffer is sufficiently aligned. Introduce e1000_rx_desc_union type, a union type of all receive descriptor types to correct this. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions