Re: [Qemu-devel] [PATCH] spapr-vscsi: fix SOLNT bit in SRP_RSP
Applied. Thanks. Regards, Anthony Liguori
[Qemu-devel] [PATCH] spapr-vscsi: fix SOLNT bit in SRP_RSP
The driver calculates SOLNT bit from UCSOLNT and SCSOLNT bits from the request. The iu pointer has a type of srp_iu* which points to a union, so cmd and rsp overlap. As the vscsi_send_rsp function calls memset(iu, 0, sizeof(rsp)), it clears first 36 bytes of both cmd and rsp so cmd.sol_not is alwa