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
..
2013-05-02 14:14:04 -07:00
2013-04-22 20:32:51 -04:00
2013-05-02 13:58:12 -04:00
2013-04-25 01:47:58 -04:00
2013-05-01 17:51:54 -07:00
2013-04-07 16:28:00 -04:00
2013-04-30 03:55:20 -04:00
2013-05-01 17:51:54 -07:00
2013-05-03 16:08:58 -04:00
2013-04-23 13:25:51 -04:00
2013-05-01 17:51:54 -07:00
2013-05-02 11:58:41 -05:00
2013-05-08 13:13:30 -07:00
2013-03-22 10:31:16 -04:00
2013-03-17 14:35:13 -04:00
2013-04-07 17:12:01 -04:00
2012-12-16 15:40:50 -08:00
2013-03-25 12:23:41 -04:00
2013-03-28 01:20:42 -04:00
2013-04-08 12:00:16 -04:00
2013-05-08 13:13:30 -07:00
2013-05-01 17:51:54 -07:00
2013-02-27 19:10:24 -08:00
2013-05-01 14:08:52 -07:00
2013-04-22 20:32:51 -04:00
2013-03-27 14:07:04 -04:00
2013-04-07 18:37:01 -04:00
2013-01-11 11:40:01 -08:00
2013-04-07 16:28:01 -04:00
2013-04-24 10:54:20 -04:00
2013-04-30 03:55:20 -04:00
2013-05-01 17:51:54 -07:00
2013-03-08 11:33:51 -05:00
2013-05-01 15:02:42 -04:00
2013-04-25 01:47:58 -04:00
2013-04-30 03:55:20 -04:00
2013-04-30 00:19:11 -04:00
2013-05-03 16:10:33 -04:00
2013-03-22 10:31:16 -04:00
2013-03-08 00:35:44 -05:00
2013-04-22 14:58:14 -04:00
2013-04-07 16:28:02 -04:00
2013-02-21 12:05:51 -08:00
2013-05-01 14:08:52 -07:00
2013-05-01 14:08:52 -07:00
2013-05-22 14:55:32 -04:00
2013-05-06 16:16:52 -04:00
2013-05-01 15:13:49 -04:00
2013-04-30 03:55:20 -04:00
2013-05-01 17:51:54 -07:00
2013-04-09 14:13:35 -04:00
2013-05-02 14:53:12 -07:00
2013-05-01 15:02:42 -04:00
2013-02-10 19:41:08 -05:00
2013-05-11 14:29:11 -07:00
2012-11-18 20:32:45 -05:00