summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2018-07-30 22:22:59 +0900
committerDaniel Borkmann <daniel@iogearbox.net>2018-07-31 09:26:34 +0200
commit1f821611f49a89d2258d256efedd618eda6344be (patch)
tree6aa90613c1da0e52ed834ed130b233e17f30721b /kernel/cpu.c
parent486cdf21583e5b1fad488a3e4f0a5242a31c0ffa (diff)
downloadlinux-stable-1f821611f49a89d2258d256efedd618eda6344be.tar.gz
linux-stable-1f821611f49a89d2258d256efedd618eda6344be.tar.bz2
linux-stable-1f821611f49a89d2258d256efedd618eda6344be.zip
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: Taehee Yoo <ap420073@gmail.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions