Re: [PATCH] Revert "virtio-net: Copy received header to buffer"

2025-04-08 Thread Stefan Hajnoczi
On Fri, Apr 04, 2025 at 05:18:21PM +0200, Antoine Damhet wrote: > This reverts commit 7987d2be5a8bc3a502f89ba8cf3ac3e09f64d1ce. > > The goal was to remove the need to patch the (const) input buffer > with a recomputed UDP checksum by copying headers to a RW region and > inject the checksum there.

Re: [PATCH] Revert "virtio-net: Copy received header to buffer"

2025-04-06 Thread Jason Wang
On Fri, Apr 4, 2025 at 11:19 PM Antoine Damhet wrote: > > This reverts commit 7987d2be5a8bc3a502f89ba8cf3ac3e09f64d1ce. > > The goal was to remove the need to patch the (const) input buffer > with a recomputed UDP checksum by copying headers to a RW region and > inject the checksum there. The patc

[PATCH] Revert "virtio-net: Copy received header to buffer"

2025-04-04 Thread Antoine Damhet
This reverts commit 7987d2be5a8bc3a502f89ba8cf3ac3e09f64d1ce. The goal was to remove the need to patch the (const) input buffer with a recomputed UDP checksum by copying headers to a RW region and inject the checksum there. The patch computed the checksum only from the header fields (missing the r