diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-28 20:13:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 14:53:38 -0800 |
commit | af727902212343211627da14d17c85592feb0e18 (patch) | |
tree | f0b2b42a8ec582de6a6a52d2007a0d44eb32c36b /net/ieee80211 | |
parent | dae9f8e63cbb532e8c4b9c54bda0bf511af9c01c (diff) |
[PATCH] uml: fix host LDT lookup initialization locking, try 2
Add some locking to host_ldt_entries to prevent racing when reading LDT
information from the host.
The locking is somewhat more careful than my previous attempt. Now, only
the check of host_ldt_entries is locked. The lock is dropped immediately
afterwards, and if the LDT needs initializing, that (and the memory
allocations needed) proceed outside the lock.
Also fixed some style violations.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ieee80211')
0 files changed, 0 insertions, 0 deletions