diff options
| author | 2022-02-24 22:23:52 -0800 | |
|---|---|---|
| committer | 2022-02-25 10:57:47 +0000 | |
| commit | 765559b10ce514eb1576595834f23cdc92125fee (patch) | |
| tree | 6b30a558176da73758b54e2626f422d1db7bd7d4 /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | ibmvnic: free reset-work-item when flushing (diff) | |
| download | linux-dev-765559b10ce514eb1576595834f23cdc92125fee.tar.xz linux-dev-765559b10ce514eb1576595834f23cdc92125fee.zip | |
ibmvnic: initialize rc before completing wait
We should initialize ->init_done_rc before calling complete(). Otherwise
the waiting thread may see ->init_done_rc as 0 before we have updated it
and may assume that the CRQ was successful.
Fixes: 6b278c0cb378 ("ibmvnic delay complete()")
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
