]> git.hungrycats.org Git - linux/commit
[PATCH] rpc_delete_timer race fix
authorAndrew Morton <akpm@digeo.com>
Sat, 8 Mar 2003 14:05:36 +0000 (06:05 -0800)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Sat, 8 Mar 2003 14:05:36 +0000 (06:05 -0800)
commit24b6f31e667dfa502b5e05312a1e55b8e3524381
tree46f69d55f58e403d6196370c5aa93faa91b00aed
parent4398ab46c95e8f56a487d7046a06f00112d29bc3
[PATCH] rpc_delete_timer race fix

Patch from Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>

Fix a race wherein timer_pending() returns false, but the timer handler is
actually running on another CPU.  We need to call del_timer_sync()
regardless, so we wait for completion of the handler.
net/sunrpc/sched.c