Trond Myklebust
006abe887c
SUNRPC: Fix a race in rpc_info_open
...
There is a race between rpc_info_open and rpc_release_client()
in that nothing stops a process from opening the file after
the clnt->cl_kref goes to zero.
Fix this by using atomic_inc_unless_zero()...
Reported-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
2010-09-12 19:55:25 -04:00
..
2010-08-02 14:28:36 -05:00
2010-04-11 14:53:53 -07:00
2010-08-19 00:26:46 -07:00
2010-04-11 14:53:53 -07:00
2010-08-04 21:53:17 -07:00
2010-08-26 15:18:27 -07:00
2010-08-10 07:59:11 -04:00
2010-09-01 19:17:34 -07:00
2010-08-26 16:11:08 -07:00
2010-08-11 16:12:35 -07:00
2010-09-08 10:32:15 -07:00
2010-03-30 22:02:32 +09:00
2010-07-18 15:07:14 -07:00
2010-06-10 23:31:35 -07:00
2010-08-11 17:11:28 +00:00
2010-08-11 23:03:50 -07:00
2010-06-11 18:37:08 -07:00
2010-07-14 18:27:09 -07:00
2010-05-23 23:11:07 -07:00
2010-09-08 21:45:01 -07:00
2010-09-08 21:45:01 -07:00
2010-03-30 22:02:32 +09:00
2010-09-07 13:57:22 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-08-26 13:29:38 -07:00
2010-03-30 22:02:32 +09:00
2010-05-12 00:05:35 -07:00
2010-09-07 14:06:10 -07:00
2010-09-08 10:39:57 -07:00
2010-05-17 23:23:14 -07:00
2010-08-31 09:51:37 -07:00
2010-04-20 16:37:13 -07:00
2010-06-02 05:53:56 -07:00
2010-07-20 18:25:24 -07:00
2010-08-18 23:40:03 -07:00
2010-04-11 14:53:53 -07:00
2010-08-01 00:32:12 -07:00
2010-08-12 09:51:35 -07:00
2010-09-01 14:29:35 -07:00
2010-09-09 15:00:29 -07:00
2010-09-12 19:55:25 -04:00
2010-05-12 23:02:29 -07:00
2010-09-07 13:57:23 -07:00
2010-07-12 20:21:47 -07:00
2010-05-20 21:04:44 -07:00
2010-08-31 14:48:47 -04:00
2010-05-17 17:39:28 -07:00
2010-09-01 14:29:35 -07:00
2010-06-03 20:03:40 -07:00
2010-08-05 17:17:51 +00:00
2010-08-05 17:17:51 +00:00
2010-07-18 19:15:26 -07:00
2010-05-17 23:23:14 -07:00