Skip to content
Commit 571fe1ba authored by Pan Bian's avatar Pan Bian Committed by Greg Kroah-Hartman
Browse files

bpf, inode_storage: Put file handler if no storage was found



[ Upstream commit b9557caa ]

Put file f if inode_storage_ptr() returns NULL.

Fixes: 8ea63684 ("bpf: Implement bpf_local_storage for inodes")
Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarKP Singh <kpsingh@kernel.org>
Link: https://lore.kernel.org/bpf/20210121020856.25507-1-bianpan2016@163.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9447d0f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment