diff options
author | Haiyang Zhang <[email protected]> | 2010-05-28 23:22:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-06-30 08:18:14 -0700 |
commit | 8b5d6d3bd3e34e4cc67d875c8c88007c1c9aa960 (patch) | |
tree | 2f923d8299574a31799c14bfd9ecc10520ed9b02 /net/unix/sysctl_net_unix.c | |
parent | 6c2fd308045ba902fbe9f4408daa7b949fa8f5a1 (diff) |
staging: hv: Fix race condition on vmbus channel initialization
There is a possible race condition when hv_utils starts to load immediately
after hv_vmbus is loading - null pointer error could happen.
This patch added wait/completion to ensure all channels are ready before
vmbus loading completes. So another module won't have any uninitialized channel.
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: Hank Janssen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions