summary refs log tree commit diff stats
path: root/rust/hw/char/pl011/src
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-11-22 14:03:12 +0900
committerJason Wang <jasowang@redhat.com>2024-11-25 14:00:51 +0800
commit7987d2be5a8bc3a502f89ba8cf3ac3e09f64d1ce (patch)
treeef7edce0f61253a3962194b35c312eb516c10c1b /rust/hw/char/pl011/src
parent17437418c4ed0b779f7e9747fbffb08e139aa0ae (diff)
downloadfocaccia-qemu-7987d2be5a8bc3a502f89ba8cf3ac3e09f64d1ce.tar.gz
focaccia-qemu-7987d2be5a8bc3a502f89ba8cf3ac3e09f64d1ce.zip
virtio-net: Copy received header to buffer
receive_header() used to cast the const qualifier of the pointer to the
received packet away to modify the header. Avoid this by copying the
received header to buffer.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'rust/hw/char/pl011/src')
0 files changed, 0 insertions, 0 deletions