aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-10-10 22:49:27 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-10 15:37:24 -0700
commitcfbdbab0634cafae2c43371396e5443cf4d5d7bc (patch)
tree8e9056d95242ea5e08a9816ed7a5f2eeb0ac7a2c /net/sunrpc/auth_gss
parent[PATCH] strndup() would better take size_t, not int (diff)
downloadlinux-dev-cfbdbab0634cafae2c43371396e5443cf4d5d7bc.tar.xz
linux-dev-cfbdbab0634cafae2c43371396e5443cf4d5d7bc.zip
[PATCH] net/sunrpc/auth_gss/svcauth_gss.c endianness regression
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sunrpc/auth_gss')
-rw-r--r--net/sunrpc/auth_gss/svcauth_gss.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c
index 447d9aef4605..1f0f079ffa65 100644
--- a/net/sunrpc/auth_gss/svcauth_gss.c
+++ b/net/sunrpc/auth_gss/svcauth_gss.c
@@ -1146,10 +1146,11 @@ out:
return ret;
}
-u32 *
+static __be32 *
svcauth_gss_prepare_to_wrap(struct xdr_buf *resbuf, struct gss_svc_data *gsd)
{
- u32 *p, verf_len;
+ __be32 *p;
+ u32 verf_len;
p = gsd->verf_start;
gsd->verf_start = NULL;