summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/bpf_lsm.c
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2021-01-20 18:08:56 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2021-01-22 23:19:24 +0100
commitb9557caaf872271671bdc1ef003d72f421eb72f6 (patch)
treed207bde825b0e0481d9251d15ff029c4b6c1a5aa /kernel/bpf/bpf_lsm.c
parentf4a2da755a7e1f5d845c52aee71336cee289935a (diff)
downloadlinux-b9557caaf872271671bdc1ef003d72f421eb72f6.tar.bz2
bpf, inode_storage: Put file handler if no storage was found
Put file f if inode_storage_ptr() returns NULL. Fixes: 8ea636848aca ("bpf: Implement bpf_local_storage for inodes") Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: KP Singh <kpsingh@kernel.org> Link: https://lore.kernel.org/bpf/20210121020856.25507-1-bianpan2016@163.com
Diffstat (limited to 'kernel/bpf/bpf_lsm.c')
0 files changed, 0 insertions, 0 deletions