diff options
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index 12e4897d0bf3..88962cf34377 100644 --- a/net/sunrpc/svcauth_unix.c +++ b/net/sunrpc/svcauth_unix.c | |||
@@ -768,7 +768,7 @@ svcauth_null_accept(struct svc_rqst *rqstp, __be32 *authp) | |||
768 | svc_putnl(resv, RPC_AUTH_NULL); | 768 | svc_putnl(resv, RPC_AUTH_NULL); |
769 | svc_putnl(resv, 0); | 769 | svc_putnl(resv, 0); |
770 | 770 | ||
771 | rqstp->rq_flavor = RPC_AUTH_NULL; | 771 | rqstp->rq_cred.cr_flavor = RPC_AUTH_NULL; |
772 | return SVC_OK; | 772 | return SVC_OK; |
773 | } | 773 | } |
774 | 774 | ||
@@ -839,7 +839,7 @@ svcauth_unix_accept(struct svc_rqst *rqstp, __be32 *authp) | |||
839 | svc_putnl(resv, RPC_AUTH_NULL); | 839 | svc_putnl(resv, RPC_AUTH_NULL); |
840 | svc_putnl(resv, 0); | 840 | svc_putnl(resv, 0); |
841 | 841 | ||
842 | rqstp->rq_flavor = RPC_AUTH_UNIX; | 842 | rqstp->rq_cred.cr_flavor = RPC_AUTH_UNIX; |
843 | return SVC_OK; | 843 | return SVC_OK; |
844 | 844 | ||
845 | badcred: | 845 | badcred: |