5.15-stable review patch. If anyone has any objections, please let me know. ------------------ The backport of commit beaf0e96b1da ("bpf: Drop task_to_inode and inet_conn_established from lsm sleepable hooks") to this tree removed only bpf_lsm_task_to_inode from sleepable_lsm_hooks. bpf_lsm_inet_conn_established is still listed there, although the hook is called from softirq context and cannot be used by sleepable LSM programs. Remove it too, which completes the backport. Fixes: 452a927cddcd ("bpf: Drop task_to_inode and inet_conn_established from lsm sleepable hooks") Reported-by: BoBppy Signed-off-by: Sasha Levin --- kernel/bpf/bpf_lsm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c index 07be0ecfd020d..ba14e8f76eb70 100644 --- a/kernel/bpf/bpf_lsm.c +++ b/kernel/bpf/bpf_lsm.c @@ -148,10 +148,6 @@ BTF_ID(func, bpf_lsm_file_lock) BTF_ID(func, bpf_lsm_file_open) BTF_ID(func, bpf_lsm_file_receive) -#ifdef CONFIG_SECURITY_NETWORK -BTF_ID(func, bpf_lsm_inet_conn_established) -#endif /* CONFIG_SECURITY_NETWORK */ - BTF_ID(func, bpf_lsm_inode_create) BTF_ID(func, bpf_lsm_inode_free_security) BTF_ID(func, bpf_lsm_inode_getattr) -- 2.53.0