diff options
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index 07dcd20cbee4..d9fdf2e4d242 100644 --- a/net/sunrpc/svcauth_unix.c +++ b/net/sunrpc/svcauth_unix.c | |||
@@ -5,6 +5,7 @@ | |||
5 | #include <linux/sunrpc/xdr.h> | 5 | #include <linux/sunrpc/xdr.h> |
6 | #include <linux/sunrpc/svcsock.h> | 6 | #include <linux/sunrpc/svcsock.h> |
7 | #include <linux/sunrpc/svcauth.h> | 7 | #include <linux/sunrpc/svcauth.h> |
8 | #include <linux/sunrpc/gss_api.h> | ||
8 | #include <linux/err.h> | 9 | #include <linux/err.h> |
9 | #include <linux/seq_file.h> | 10 | #include <linux/seq_file.h> |
10 | #include <linux/hash.h> | 11 | #include <linux/hash.h> |
@@ -707,6 +708,7 @@ svcauth_null_accept(struct svc_rqst *rqstp, __be32 *authp) | |||
707 | svc_putnl(resv, RPC_AUTH_NULL); | 708 | svc_putnl(resv, RPC_AUTH_NULL); |
708 | svc_putnl(resv, 0); | 709 | svc_putnl(resv, 0); |
709 | 710 | ||
711 | rqstp->rq_flavor = RPC_AUTH_NULL; | ||
710 | return SVC_OK; | 712 | return SVC_OK; |
711 | } | 713 | } |
712 | 714 | ||
@@ -784,6 +786,7 @@ svcauth_unix_accept(struct svc_rqst *rqstp, __be32 *authp) | |||
784 | svc_putnl(resv, RPC_AUTH_NULL); | 786 | svc_putnl(resv, RPC_AUTH_NULL); |
785 | svc_putnl(resv, 0); | 787 | svc_putnl(resv, 0); |
786 | 788 | ||
789 | rqstp->rq_flavor = RPC_AUTH_UNIX; | ||
787 | return SVC_OK; | 790 | return SVC_OK; |
788 | 791 | ||
789 | badcred: | 792 | badcred: |