diff options
author | Mike Sager <sager@netapp.com> | 2009-06-15 21:20:47 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-06-18 20:43:53 -0400 |
commit | 6ddbbbfe52f35301ef5a1b595f912d8d2b3ec143 (patch) | |
tree | 6d987ecbccf40b5ee4793c39b134848f677c1117 /fs/nfsd/nfs4state.c | |
parent | 671e1fcf63fd115eabcb693b06cbc2e4a3d1a3a3 (diff) |
nfsd41: Remove ip address collision detection case
Verified that cthon and pynfs exchange id tests pass (except for the
two expected fails: EID8 and EID50)
Signed-off-by: Mike Sager <sager@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 99570c49add5..ef6944b19f06 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -1247,12 +1247,6 @@ nfsd4_exchange_id(struct svc_rqst *rqstp, | |||
1247 | expire_client(conf); | 1247 | expire_client(conf); |
1248 | goto out_new; | 1248 | goto out_new; |
1249 | } | 1249 | } |
1250 | if (ip_addr != conf->cl_addr && | ||
1251 | !(exid->flags & EXCHGID4_FLAG_UPD_CONFIRMED_REC_A)) { | ||
1252 | /* Client collision. 18.35.4 case 3 */ | ||
1253 | status = nfserr_clid_inuse; | ||
1254 | goto out; | ||
1255 | } | ||
1256 | /* | 1250 | /* |
1257 | * Set bit when the owner id and verifier map to an already | 1251 | * Set bit when the owner id and verifier map to an already |
1258 | * confirmed client id (18.35.3). | 1252 | * confirmed client id (18.35.3). |
@@ -1266,12 +1260,12 @@ nfsd4_exchange_id(struct svc_rqst *rqstp, | |||
1266 | copy_verf(conf, &verf); | 1260 | copy_verf(conf, &verf); |
1267 | new = conf; | 1261 | new = conf; |
1268 | goto out_copy; | 1262 | goto out_copy; |
1269 | } else { | 1263 | } |
1270 | /* 18.35.4 case 7 */ | 1264 | |
1271 | if (exid->flags & EXCHGID4_FLAG_UPD_CONFIRMED_REC_A) { | 1265 | /* 18.35.4 case 7 */ |
1272 | status = nfserr_noent; | 1266 | if (exid->flags & EXCHGID4_FLAG_UPD_CONFIRMED_REC_A) { |
1273 | goto out; | 1267 | status = nfserr_noent; |
1274 | } | 1268 | goto out; |
1275 | } | 1269 | } |
1276 | 1270 | ||
1277 | unconf = find_unconfirmed_client_by_str(dname, strhashval, true); | 1271 | unconf = find_unconfirmed_client_by_str(dname, strhashval, true); |