diff options
| author | David S. Miller <[email protected]> | 2009-07-17 17:28:19 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2009-07-17 17:28:19 +0000 |
| commit | 14d87e6c399f3942d63dff41447ff08a615d9a6b (patch) | |
| tree | cb2c1c18a791c79f51cb9ea7516287f9b2394f97 /lib/flex_array.c | |
| parent | sparc32: Fix makefile not generating required files (diff) | |
| download | kernel-14d87e6c399f3942d63dff41447ff08a615d9a6b.tar.gz kernel-14d87e6c399f3942d63dff41447ff08a615d9a6b.zip | |
sparc: Fix cleanup crash in bbc_envctrl_cleanup()
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
