git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8944146
)
sparc: Fix cleanup crash in bbc_envctrl_cleanup()
author
David S. Miller
<davem@davemloft.net>
Fri, 17 Jul 2009 17:28:19 +0000
(10:28 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 17 Jul 2009 17:28:19 +0000
(10:28 -0700)
If kthread_run() fails or never gets to run we'll have NULL
or a pointer encoded error in kenvctrld_task, rather than
a legitimate task pointer.
So this makes bbc_envctrl_cleanup() crash as it passed this
bogus pointer into kthread_stop().
Reported-by: BERTRAND Joël <joel.bertrand@systella.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found