diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-02-24 15:01:39 +0100 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:51:54 +0300 |
commit | af5b89865ab972e82f9323d5cec9c0771129b8fe (patch) | |
tree | 29b82e1b2b313fb910dc5bb4335bed8cfa32dcd3 /net/ipv6/tcp_ipv6.c | |
parent | 1f459d731993dcaa501ec8fd6b03ff43f42bf108 (diff) |
bpf: Remove recursion prevention from rcu free callback
[ Upstream commit 8a37963c7ac9ecb7f86f8ebda020e3f8d6d7b8a0 ]
If an element is freed via RCU then recursion into BPF instrumentation
functions is not a concern. The element is already detached from the map
and the RCU callback does not hold any locks on which a kprobe, perf event
or tracepoint attached BPF program could deadlock.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200224145643.259118710@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions