summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2013-07-31 14:11:14 -0400
committerJ. Bruce Fields <bfields@redhat.com>2013-08-01 08:41:29 -0400
commit743e217129f69aab074abe520a464fd0c6b1cca1 (patch)
treedd16ed4a1048cf68e02513d2937ab72aae0d79ee /net/sunrpc
parentdc43376c26cef74226174a2394f37f2a3f8a8639 (diff)
downloadop-kernel-dev-743e217129f69aab074abe520a464fd0c6b1cca1.zip
op-kernel-dev-743e217129f69aab074abe520a464fd0c6b1cca1.tar.gz
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 1e1ccf5..af7ffd4 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);
}
OpenPOWER on IntegriCloud