aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Bruce Fields - unquoted <bfields@snoopy.citi.umich.edu>2007-02-10 01:33:26 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-05-02 10:36:45 -0400
commitb80e183deff5f3d43565b552ed91e511128a6ea9 (patch)
treee60d853b0f9f067b40e32860e6e188976fef1a2c
parentf32824d8ca9d3f84613ae2422070cc5469fe9e91 (diff)
spkm3: remove bad kfree, unnecessary export
We're kfree()'ing something that was allocated on the stack! Also remove an unnecessary symbol export while we're at it. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--net/sunrpc/auth_gss/gss_spkm3_seal.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sunrpc/auth_gss/gss_spkm3_seal.c b/net/sunrpc/auth_gss/gss_spkm3_seal.c
index 36c3bae0c42b..3ec9cd31420c 100644
--- a/net/sunrpc/auth_gss/gss_spkm3_seal.c
+++ b/net/sunrpc/auth_gss/gss_spkm3_seal.c
@@ -123,9 +123,6 @@ spkm3_make_token(struct spkm3_ctx *ctx,
123 123
124 return GSS_S_COMPLETE; 124 return GSS_S_COMPLETE;
125out_err: 125out_err:
126 if (md5cksum.data)
127 kfree(md5cksum.data);
128
129 token->data = NULL; 126 token->data = NULL;
130 token->len = 0; 127 token->len = 0;
131 return GSS_S_FAILURE; 128 return GSS_S_FAILURE;
@@ -184,5 +181,3 @@ out:
184 181
185 return err ? GSS_S_FAILURE : 0; 182 return err ? GSS_S_FAILURE : 0;
186} 183}
187
188EXPORT_SYMBOL(make_spkm3_checksum);