|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 4/8] xen/blkfront: don't trust the backend response data blindly
On 17.05.21 17:12, Jan Beulich wrote: On 17.05.2021 16:23, Juergen Gross wrote:On 17.05.21 16:11, Jan Beulich wrote:On 13.05.2021 12:02, Juergen Gross wrote: Yes and no. rsp_cons should never be written by the other side, and additionally it would be read multiple times anyway. So if the other side is writing it, the write could always happen after the test and before the loop is started. This is no real issue here as the frontend would very soon stumble over an illegal response (either no request pending, or some other inconsistency). The test is meant to have a more detailed error message in case it hits. In the end it doesn't really matter, so I can change it. I just wanted to point out that IMO both variants are equally valid. Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |