Skip to content
Commit c2fd22df authored by Michael Neuling's avatar Michael Neuling Committed by Benjamin Herrenschmidt
Browse files

powerpc/tm: Fix null pointer deference in flush_hash_page



Make sure that current->thread.reg exists before we deference it in
flush_hash_page.

Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
Reported-by: default avatarJohn J Miller <millerjo@us.ibm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent c4463b37
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment