diff options
Diffstat (limited to 'fs/nfs/callback.c')
-rw-r--r-- | fs/nfs/callback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index 8d129bb7355a..682529c00996 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c | |||
@@ -458,7 +458,7 @@ check_gss_callback_principal(struct nfs_client *clp, struct svc_rqst *rqstp) | |||
458 | * pg_authenticate method for nfsv4 callback threads. | 458 | * pg_authenticate method for nfsv4 callback threads. |
459 | * | 459 | * |
460 | * The authflavor has been negotiated, so an incorrect flavor is a server | 460 | * The authflavor has been negotiated, so an incorrect flavor is a server |
461 | * bug. Drop packets with incorrect authflavor. | 461 | * bug. Deny packets with incorrect authflavor. |
462 | * | 462 | * |
463 | * All other checking done after NFS decoding where the nfs_client can be | 463 | * All other checking done after NFS decoding where the nfs_client can be |
464 | * found in nfs4_callback_compound | 464 | * found in nfs4_callback_compound |
@@ -468,12 +468,12 @@ static int nfs_callback_authenticate(struct svc_rqst *rqstp) | |||
468 | switch (rqstp->rq_authop->flavour) { | 468 | switch (rqstp->rq_authop->flavour) { |
469 | case RPC_AUTH_NULL: | 469 | case RPC_AUTH_NULL: |
470 | if (rqstp->rq_proc != CB_NULL) | 470 | if (rqstp->rq_proc != CB_NULL) |
471 | return SVC_DROP; | 471 | return SVC_DENIED; |
472 | break; | 472 | break; |
473 | case RPC_AUTH_GSS: | 473 | case RPC_AUTH_GSS: |
474 | /* No RPC_AUTH_GSS support yet in NFSv4.1 */ | 474 | /* No RPC_AUTH_GSS support yet in NFSv4.1 */ |
475 | if (svc_is_backchannel(rqstp)) | 475 | if (svc_is_backchannel(rqstp)) |
476 | return SVC_DROP; | 476 | return SVC_DENIED; |
477 | } | 477 | } |
478 | return SVC_OK; | 478 | return SVC_OK; |
479 | } | 479 | } |