Skip to content
Commit 1f821611 authored by Taehee Yoo's avatar Taehee Yoo Committed by Daniel Borkmann
Browse files

lwt_bpf: remove unnecessary rcu_read_lock in run_lwt_bpf



run_lwt_bpf is called by bpf_{input/output/xmit}.
These functions are already protected by rcu_read_lock.
because lwtunnel_{input/output/xmit} holds rcu_read_lock
and then calls bpf_{input/output/xmit}.
So that rcu_read_lock in the run_lwt_bpf is unnecessary.

Signed-off-by: default avatarTaehee Yoo <ap420073@gmail.com>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 486cdf21
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