summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorStephen Smalley <stephen.smalley.work@gmail.com>2025-02-20 14:29:36 -0500
committerAnna Schumaker <anna.schumaker@oracle.com>2025-02-25 15:07:24 -0500
commit9084ed79ddaaaa1ec01cd304af9fb532c26252db (patch)
tree641ca5f17465cdc54df025981d040e051b6b597c /include/linux/fpga/fpga-bridge.h
parent1f7a4f98c11fbeb18ed21f3b3a497e90a50ad2e0 (diff)
lsm,nfs: fix memory leak of lsm_context
commit b530104f50e8 ("lsm: lsm_context in security_dentry_init_security") did not preserve the lsm id for subsequent release calls, which results in a memory leak. Fix it by saving the lsm id in the nfs4_label and providing it on the subsequent release call. Fixes: b530104f50e8 ("lsm: lsm_context in security_dentry_init_security") Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com> Acked-by: Paul Moore <paul@paul-moore.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions