diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2017-05-24 23:05:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-07 10:07:46 (GMT) |
commit | c1133c671a0467a8cc2fc79bdc34c764fb623043 (patch) | |
tree | fec0998269ca6899dd0d77fcf60291e3d1597fed /arch/sparc | |
parent | 988b9792b8569871ccaabc6ec0bc4d70f982be96 (diff) | |
download | linux-c1133c671a0467a8cc2fc79bdc34c764fb623043.tar.xz |
bpf: add bpf_clone_redirect to bpf_helper_changes_pkt_data
[ Upstream commit 41703a731066fde79c3e5ccf3391cf77a98aeda5 ]
The bpf_clone_redirect() still needs to be listed in
bpf_helper_changes_pkt_data() since we call into
bpf_try_make_head_writable() from there, thus we need
to invalidate prior pkt regs as well.
Fixes: 36bbef52c7eb ("bpf: direct packet write and access for helpers for clsact progs")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions