diff options
author | Juergen Gross <jgross@suse.com> | 2021-08-24 12:28:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-01 09:19:09 +0100 |
commit | f5e493709800243181e268ddbfae949d2cc37f0b (patch) | |
tree | 2d09749cbc55fa2c214e51b7cd8b301137dd6e57 /lib | |
parent | 1ffb20f0527dab03c17f0182ec6a63b9301af5f1 (diff) | |
download | linux-stable-f5e493709800243181e268ddbfae949d2cc37f0b.tar.gz linux-stable-f5e493709800243181e268ddbfae949d2cc37f0b.tar.bz2 linux-stable-f5e493709800243181e268ddbfae949d2cc37f0b.zip |
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 'lib')
0 files changed, 0 insertions, 0 deletions