Home
last modified time | relevance | path

Searched hist:"7987 d2be5a8bc3a502f89ba8cf3ac3e09f64d1ce" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/net/
H A Dvirtio-net.cdiff 7987d2be5a8bc3a502f89ba8cf3ac3e09f64d1ce Thu Nov 21 23:03:12 CST 2024 Akihiko Odaki <akihiko.odaki@daynix.com> 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>