J. Bruce Fields
9affa43581
nfsd4: fix NULL dereference in nfsd/clients display code
...
We hold the cl_lock here, and that's enough to keep stateid's from going
away, but it's not enough to prevent the files they point to from going
away. Take fi_lock and a reference and check for NULL, as we do in
other code.
Reported-by: NeilBrown <neilb@suse.de>
Fixes: 78599c42ae3c ("nfsd4: add file to display list of client's opens")
Reviewed-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2020-07-22 16:47:14 -04:00
..
2019-08-28 21:13:45 -04:00
2018-01-22 20:13:07 -08:00
2017-11-02 11:10:55 +01:00
2019-08-19 11:09:09 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-06-01 17:44:45 -04:00
2017-11-02 11:10:55 +01:00
2020-03-16 12:04:33 -04:00
2018-10-29 16:58:04 -04:00
2019-07-03 16:57:17 +02:00
2020-03-16 12:04:31 -04:00
2020-02-06 11:22:55 -05:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2015-07-20 14:58:46 -04:00
2020-03-16 12:04:34 -04:00
2017-11-02 11:10:55 +01:00
2019-08-19 11:00:39 -04:00
2020-06-01 17:44:45 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-01-22 16:25:41 -05:00
2020-01-22 16:25:41 -05:00
2016-06-24 12:11:52 -04:00
2020-05-28 18:15:00 -04:00
2020-03-16 12:04:33 -04:00
2019-12-19 17:46:08 -05:00
2020-05-21 10:58:15 -04:00
2020-05-08 15:32:15 +10:00
2020-07-22 16:47:14 -04:00
2020-03-16 12:04:31 -04:00
2020-06-03 11:12:32 -04:00
2020-06-29 14:48:28 -04:00
2020-06-29 14:48:02 -04:00
2020-03-16 12:04:33 -04:00
2019-12-19 17:46:08 -05:00
2020-01-22 16:25:41 -05:00
2020-05-11 09:16:14 -04:00
2019-04-24 09:46:35 -04:00
2017-11-02 11:10:55 +01:00
2020-05-20 17:30:44 -04:00
2020-02-04 03:05:26 +00:00
2017-11-02 11:10:55 +01:00
2015-10-23 15:57:29 -04:00
2020-05-20 17:30:44 -04:00
2020-06-17 10:48:58 -04:00
2020-01-22 16:25:41 -05:00
2020-01-22 16:25:41 -05:00
2019-12-09 11:44:07 -05:00
2018-09-25 20:34:54 -04:00
2018-04-03 15:08:16 -04:00