summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2013-07-31 20:11:14 +0200
committerJ. Bruce Fields <bfields@redhat.com>2013-08-01 14:41:29 +0200
commit743e217129f69aab074abe520a464fd0c6b1cca1 (patch)
treedd16ed4a1048cf68e02513d2937ab72aae0d79ee /net/sunrpc
parentsvcrpc: fix gss-proxy xdr decoding oops (diff)
downloadlinux-743e217129f69aab074abe520a464fd0c6b1cca1.tar.xz
linux-743e217129f69aab074abe520a464fd0c6b1cca1.zip
svcrpc: fix kfree oops in gss-proxy code
mech_oid.data is an array, not kmalloc()'d memory. Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/auth_gss/gss_rpc_upcall.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/gss_rpc_upcall.c b/net/sunrpc/auth_gss/gss_rpc_upcall.c
index 1e1ccf539fac..af7ffd447fee 100644
--- a/net/sunrpc/auth_gss/gss_rpc_upcall.c
+++ b/net/sunrpc/auth_gss/gss_rpc_upcall.c
@@ -328,7 +328,6 @@ void gssp_free_upcall_data(struct gssp_upcall_data *data)
kfree(data->in_handle.data);
kfree(data->out_handle.data);
kfree(data->out_token.data);
- kfree(data->mech_oid.data);
free_svc_cred(&data->creds);
}