diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2017-05-23 21:53:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-17 06:41:50 +0200 |
commit | ae0b63eb344efec8aab9759ec3fcc94c799227e1 (patch) | |
tree | 2fb7303227ba137ecc82b44e3d2a2b23032f1c70 /drivers/net/hamradio | |
parent | 4544ba3173b7e4f15c8c921997847390e5652268 (diff) |
ibmvnic: Initialize completion variables before starting work
[ Upstream commit db5d0b597bc27bbddf40f2f8359a73be4eb77104 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/hamradio')
0 files changed, 0 insertions, 0 deletions