[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-nfs
Subject: [NFS] [PATCH] kNFSd - 9 of 11 - nfsd-setclientid-fix.patch
From: NeilBrown <neilb () cse ! unsw ! edu ! au>
Date: 2004-05-28 4:37:31
Message-ID: E1BTZ7b-0008Em-8X () notabene ! cse ! unsw ! edu ! au
[Download RAW message or body]
Fix a somewhat bizarre corner case in clid processing: a clientid match isn't
required for case 3.
From: Andy Adamson <andros@citi.umich.edu>
From: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
----------- Diffstat output ------------
./fs/nfsd/nfs4state.c | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
diff ./fs/nfsd/nfs4state.c~current~ ./fs/nfsd/nfs4state.c
--- ./fs/nfsd/nfs4state.c~current~ 2004-05-28 14:28:08.000000000 +1000
+++ ./fs/nfsd/nfs4state.c 2004-05-28 14:27:30.000000000 +1000
@@ -495,15 +495,13 @@ nfsd4_setclientid(struct svc_rqst *rqstp
gen_clid(new);
gen_confirm(new);
add_to_unconfirmed(new, strhashval);
- } else if (!cmp_clid(&conf->cl_clientid, &unconf->cl_clientid) &&
- !cmp_verf(&conf->cl_confirm, &unconf->cl_confirm)) {
+ } else if (!cmp_verf(&conf->cl_confirm, &unconf->cl_confirm)) {
/*
* CASE3:
* confirmed found (name, principal match)
* confirmed verifier does not match input clverifier
*
* unconfirmed found (name match)
- * confirmed->cl_clientid != unconfirmed->cl_clientid and
* confirmed->cl_confirm != unconfirmed->cl_confirm
*
* remove unconfirmed.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic