From: Anton Vorontsov Date: Tue, 7 Feb 2012 06:49:39 +0000 (+0400) Subject: sysrq: Fix possible race with exiting task X-Git-Tag: v3.4-rc1~185^2~112^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e502babe0a85226f2417b60a8710cf8192879180;p=pandora-kernel.git sysrq: Fix possible race with exiting task sysrq should grab the tasklist lock, otherwise calling force_sig() is not safe, as it might race with exiting task, which ->sighand might be set to NULL already. Signed-off-by: Anton Vorontsov Acked-by: David Rientjes Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed