Files
linux/kernel
Martin KaFai Lau 2b5a2ecbfd bpf: Initialize the bpf_run_ctx in bpf_iter_run_prog()
The bpf-iter-prog for tcp and unix sk can do bpf_setsockopt()
which needs has_current_bpf_ctx() to decide if it is called by a
bpf prog.  This patch initializes the bpf_run_ctx in
bpf_iter_run_prog() for the has_current_bpf_ctx() to use.

Acked-by: Andrii Nakryiko <[email protected]>
Reviewed-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
2022-08-18 17:06:13 -07:00
..
2021-12-02 17:25:21 +09:00
2022-06-15 19:28:44 -04:00
…
2021-09-08 15:32:35 -07:00
…
2022-03-15 10:32:44 +01:00
…
…
…
…
2021-09-08 15:32:34 -07:00
…
2021-10-14 13:29:18 +02:00
…
…
…
2022-02-25 09:36:06 +01:00
…
…
…
…