Andrew Elble
692ad280bf
nfsd: fix error handling in nfs4_set_delegation()
...
I noticed a memory corruption crash in nfsd in
4.17-rc1. This patch corrects the issue.
Fix to return error if the delegation couldn't be hashed or there was
a recall in progress. Use the existing error path instead of
destroy_delegation() for readability.
Signed-off-by: Andrew Elble <aweits@rit.edu>
Fixes: 353601e7d323c ("nfsd: create a separate lease for each delegation")
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2018-06-08 16:42:29 -04:00
..
2018-04-07 09:08:24 -07:00
2018-04-20 09:59:33 -07:00
2018-04-20 17:18:35 -07:00
2018-05-04 20:32:18 -10:00
2018-04-06 14:05:14 +01:00
2018-04-23 17:35:19 +02:00
2018-05-04 20:51:10 -10:00
2018-04-16 18:51:22 +00:00
2018-04-12 12:04:49 +02:00
2018-04-20 09:01:26 -07:00
2018-04-28 20:07:21 -07:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:39 -07:00
2018-04-12 10:07:51 -07:00
2018-04-02 20:15:53 +02:00
2018-04-05 21:36:21 -07:00
2018-04-16 09:47:41 +02:00
2018-04-18 11:49:31 -04:00
2018-04-15 23:49:05 -04:00
2018-04-12 12:55:50 -07:00
2018-06-08 16:42:29 -04:00
2018-04-11 10:28:39 -07:00
2018-04-13 15:52:49 +02:00
2018-04-06 14:19:26 -07:00
2018-04-15 23:49:12 -04:00
2018-04-12 12:04:50 +02:00
2018-04-20 17:18:36 -07:00
2018-04-06 15:45:33 -07:00
2018-04-09 17:48:54 +02:00
2018-04-11 10:28:36 -07:00
2018-04-11 16:39:34 -07:00
2018-04-18 16:34:55 +02:00
2018-05-02 09:21:33 -07:00
2018-04-11 10:28:37 -07:00
2018-04-11 10:28:37 -07:00
2018-04-20 17:18:36 -07:00
2018-04-11 10:28:37 -07:00
2018-04-02 20:16:00 +02:00
2018-04-10 10:25:57 -07:00
2018-04-12 12:28:32 -07:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:38 -07:00
2018-04-06 14:19:26 -07:00
2018-04-11 10:28:37 -07:00
2018-04-02 20:15:42 +02:00
2018-04-02 20:16:00 +02:00
2018-05-03 16:11:37 -06:00
2018-04-11 10:28:39 -07:00
2018-04-06 11:07:08 -07:00
2018-04-02 20:16:03 +02:00
2018-04-09 12:48:05 -07:00
2018-04-20 09:59:33 -07:00
2018-04-06 11:07:08 -07:00
2018-04-02 20:16:09 +02:00
2018-04-02 20:16:02 +02:00
2018-04-02 20:15:42 +02:00
2018-04-11 10:28:36 -07:00
2018-04-02 20:15:43 +02:00
2018-04-16 02:06:47 -04:00
2018-04-04 12:44:02 -07:00
2018-04-02 20:15:44 +02:00