aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorCristian Stoica <[email protected]>2014-10-30 12:40:22 +0000
committerHerbert Xu <[email protected]>2014-11-06 15:10:20 +0000
commit738459e3f88538f2ece263424dafe5d91799e46b (patch)
treed7c7e94e6ee5aa7b5e396454708ed3f1b3210439 /security/selinux/hooks.c
parentcrypto: qat - Enforce valid numa configuration (diff)
downloadkernel-738459e3f88538f2ece263424dafe5d91799e46b.tar.gz
kernel-738459e3f88538f2ece263424dafe5d91799e46b.zip
crypto: caam - fix missing dma unmap on error path
If dma mapping for dma_addr_out fails, the descriptor memory is freed but the previous dma mapping for dma_addr_in remains. This patch resolves the missing dma unmap and groups resource allocations at function start. Cc: <[email protected]> # 3.13+ Signed-off-by: Cristian Stoica <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions