diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 08:34:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 08:34:47 -0700 |
commit | 91721197def2fc69abf152c47dbb87eed0f13333 (patch) | |
tree | 80b4b92f44a7a3b1ada346c175489b0274fe1344 /security/keys/compat.c | |
parent | 8f46baaa7ec6cd0851794020b31958e64679dd26 (diff) | |
parent | 8bb9660418e05bb1845ac1a2428444d78e322cc7 (diff) | |
download | op-kernel-dev-91721197def2fc69abf152c47dbb87eed0f13333.zip op-kernel-dev-91721197def2fc69abf152c47dbb87eed0f13333.tar.gz |
Merge 3.9-rc4 into driver-core-next
Diffstat (limited to 'security/keys/compat.c')
-rw-r--r-- | security/keys/compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/keys/compat.c b/security/keys/compat.c index 1c26176..d65fa7f 100644 --- a/security/keys/compat.c +++ b/security/keys/compat.c @@ -40,12 +40,12 @@ static long compat_keyctl_instantiate_key_iov( ARRAY_SIZE(iovstack), iovstack, &iov); if (ret < 0) - return ret; + goto err; if (ret == 0) goto no_payload_free; ret = keyctl_instantiate_key_common(id, iov, ioc, ret, ringid); - +err: if (iov != iovstack) kfree(iov); return ret; |