diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-07-18 02:33:31 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-08-10 23:05:47 +0300 |
commit | 19311aa8353644c18d609291e0078843d1c22ece (patch) | |
tree | 38ac0e3cef1d4f4363762c470366a2ef2758b4dc /fs/nfsd/netns.h | |
parent | d50ffded7947c052ca91bf02e08d71e3aef8b789 (diff) | |
download | linux-19311aa8353644c18d609291e0078843d1c22ece.tar.xz |
nfsd: New counter for generating client confirm verifier
If using clientid_counter, it seems possible that gen_confirm could
generate the same verifier for the same client in some situations.
Add a new counter for client confirm verifier to make sure gen_confirm
generates a different verifier on each call for the same clientid.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r-- | fs/nfsd/netns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index ea6749a32760..d8b16c2568f3 100644 --- a/fs/nfsd/netns.h +++ b/fs/nfsd/netns.h @@ -110,6 +110,7 @@ struct nfsd_net { unsigned int max_connections; u32 clientid_counter; + u32 clverifier_counter; struct svc_serv *nfsd_serv; }; |