aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2007-09-19 14:38:12 +1000
committerPaul Mackerras <[email protected]>2007-09-19 15:26:29 +1000
commitc0e7b4aa1c09ea992808ea8c079141bc8dd0f5bc (patch)
tree04526571476d3f4e5f28f2043c025b72275c6b4a /net/lapb/lapb_timer.c
parentc2f828977ba5d17c13debba374ea252d18e5ccfb (diff)
[POWERPC] spusched: Fix null pointer dereference in find_victim
find_victim can dereference a NULL pointer when iterating over the list of victim spus because list_mutex only guarantees spu->ct to be stable, but of course not to be non-NULL. Also fix find_victim to not call spu_unbind_context without list_mutex because that violates the above guarantee. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Jeremy Kerr <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions