diff options
| author | Juergen Gross <jgross@suse.com> | 2021-11-29 15:57:03 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-08 08:44:06 +0100 |
| commit | 4a963d074a6e88b6057713b7c9dec4f6065d0fd4 (patch) | |
| tree | 3e0cc45c023f837aa2578662746ff67a5b421e93 /drivers/net/xen-netback/xenbus.c | |
| parent | 9dad969c4db2f9cb058e412d849645a471cdfa16 (diff) | |
xen/netfront: read response from backend only once
commit 8446066bf8c1f9f7b7412c43fbea0fb87464d75b upstream.
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 <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/xen-netback/xenbus.c')
0 files changed, 0 insertions, 0 deletions
