nfsd: New counter for generating client confirm verifier
authorKinglong Mee <kinglongmee@gmail.com>
Fri, 17 Jul 2015 23:33:31 +0000 (07:33 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Aug 2015 20:05:47 +0000 (16:05 -0400)
commit19311aa8353644c18d609291e0078843d1c22ece
tree38ac0e3cef1d4f4363762c470366a2ef2758b4dc
parentd50ffded7947c052ca91bf02e08d71e3aef8b789
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>
fs/nfsd/netns.h
fs/nfsd/nfs4state.c