diff options
| author | Alexei Starovoitov <ast@fb.com> | 2017-12-22 16:29:02 +0100 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:51:17 +0300 |
| commit | c60a218c818a77d80b5a12b01d828a1715b45882 (patch) | |
| tree | 1e81a8bcf93d7c8a3cc8e45d1fd81dcc67e52b86 /kernel/sysctl_binary.c | |
| parent | 5e83bdee0398f804c22adfb81f873c318e3cdbf3 (diff) | |
bpf: adjust insn_aux_data when patching insns
[ Upstream commit 8041902dae5299c1f194ba42d14383f734631009 ]
convert_ctx_accesses() replaces single bpf instruction with a set of
instructions. Adjust corresponding insn_aux_data while patching.
It's needed to make sure subsequent 'for(all insn)' loops
have matching insn and insn_aux_data.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
