]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: unisys: Guard against task leakage
authorNeil Horman <nhorman@redhat.com>
Tue, 21 Jul 2015 13:55:40 +0000 (09:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:19:17 +0000 (21:19 -0700)
commit8cf12de41bb772fccd2807780ad23639e4fcce89
tree01e76eb89e07173bea88b2a9fc63f068bd5334d4
parent87a9404ef0be2aac949fdb8854e71d100859f6f5
staging: unisys: Guard against task leakage

Its possible to overwrite the old task pointer in visornic_resume.  Add a
check to guard against that and a warning if we find that its already
running

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c