]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: Fix broken LDT access in VMI
authorZachary Amsden <zach@vmware.com>
Tue, 30 Sep 2008 18:02:12 +0000 (11:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Sep 2008 18:16:34 +0000 (11:16 -0700)
commitde59985e3a623d4d5d6207f1777398ca0606ab1c
treed7ac6dd7da8e39b92cd4c7b54345ce3a9f410ac0
parentd3a47e82b6bc3724dd60f3ee4e84fe4479104382
x86: Fix broken LDT access in VMI

After investigating a JRE failure, I found this bug was introduced a
long time ago, and had already managed to survive another bugfix which
occurred on the same line.  The result is a total failure of the JRE due
to LDT selectors not working properly.

This one took a long time to rear up because LDT usage is not very
common, but the bug is quite serious.  It got introduced along with
another bug, already fixed, by 75b8bb3e56ca09a467fbbe5229bc68627f7445be

Signed-off-by: Zachary Amsden <zach@vmware.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Glauber de Oliveira Costa <gcosta@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/vmi_32.c