diff options
| author | Eric Biggers <[email protected]> | 2017-12-21 00:24:27 +0000 |
|---|---|---|
| committer | Radim Krčmář <[email protected]> | 2018-02-02 16:49:55 +0000 |
| commit | 8dbfb2bf1bb3848a8069164e205635b2675c24fe (patch) | |
| tree | 73d504a4b5641c7171b055b22770a8a5d786e6b7 /drivers/fpga/socfpga-a10.c | |
| parent | Merge tag 'kvm-ppc-next-4.16-1' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-8dbfb2bf1bb3848a8069164e205635b2675c24fe.tar.gz kernel-8dbfb2bf1bb3848a8069164e205635b2675c24fe.zip | |
KVM: x86: don't forget vcpu_put() in kvm_arch_vcpu_ioctl_set_sregs()
Due to a bad merge resolution between commit f29810335965 ("KVM/x86:
Check input paging mode when cs.l is set") and commit b4ef9d4e8cb8
("KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_set_sregs"),
there is a case in kvm_arch_vcpu_ioctl_set_sregs() where vcpu_put() is
not called after vcpu_get(). Fix it.
Reported-by: syzbot <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'drivers/fpga/socfpga-a10.c')
0 files changed, 0 insertions, 0 deletions
