commit | 8041902dae5299c1f194ba42d14383f734631009 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@fb.com> | Wed Mar 15 18:26:41 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 16 20:44:11 2017 -0700 |
tree | bd1153b0a070c9d8b5d8bb24b11b212bb8421926 | |
parent | 79741b3bdec01a8628368fbcfccc7d189ed606cb [diff] |
bpf: adjust insn_aux_data when patching insns 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>