Re: [PATCH 5/8] xen/netfront: read response from backend only once

2021-05-17 Thread Juergen Gross
On 17.05.21 16:20, Jan Beulich wrote: On 13.05.2021 12:02, Juergen Gross wrote: In order to avoid problems in case the backend is modifying a response on the ring page while the frontend has already seen it, just read the response into a local buffer in one go and then operate on that buffer onl

Re: [PATCH 5/8] xen/netfront: read response from backend only once

2021-05-17 Thread Jan Beulich
On 13.05.2021 12:02, Juergen Gross wrote: > In order to avoid problems in case the backend is modifying a response > on the ring page while the frontend has already seen it, just read the > response into a local buffer in one go and then operate on that buffer > only. > > Signed-off-by: Juergen Gr

[PATCH 5/8] xen/netfront: read response from backend only once

2021-05-13 Thread Juergen Gross
In order to avoid problems in case the backend is modifying a response on the ring page while the frontend has already seen it, just read the response into a local buffer in one go and then operate on that buffer only. Signed-off-by: Juergen Gross --- drivers/net/xen-netfront.c | 38