diff options
| author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2017-02-10 13:45:05 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-02-11 21:23:43 -0500 |
| commit | db5d0b597bc27bbddf40f2f8359a73be4eb77104 (patch) | |
| tree | 578d1706d2840edf029a5cd8119f8d3ba175ee69 /lib/mpi/mpiutil.c | |
| parent | 1ee18329fae936089c6c599250ae92482ff2b81f (diff) | |
ibmvnic: Initialize completion variables before starting work
Initialize condition variables prior to invoking any work that can
mark them complete. This resolves a race in the ibmvnic driver where
the driver faults trying to complete an uninitialized condition
variable.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
