Trond Myklebust a3c3cac5d3 SUNRPC: Prevent an rpc_task wakeup race
The lockless RPC_IS_QUEUED() test in __rpc_execute means that we need to
be careful about ordering the calls to rpc_test_and_set_running(task) and
rpc_clear_queued(task). If we get the order wrong, then we may end up
testing the RPC_TASK_RUNNING flag after __rpc_execute() has looped
and changed the state of the rpc_task.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
2013-05-22 14:55:32 -04:00
..
2012-11-04 14:43:41 -05:00
2013-05-09 10:24:54 -07:00
2013-04-09 14:13:32 -04:00
2013-02-17 10:53:51 -05:00
2012-04-15 12:44:40 -04:00
2013-04-26 11:41:26 -04:00