On 10/24/18 3:05 PM, Daniel Borkmann wrote:
Commit f1a2e44a3aec ("bpf: add queue and stack maps") probably just copy-pasted .pkt_access for bpf_map_{pop,peek}_elem() helpers, but this is buggy in this context since it would allow writes into cloned skbs which is invalid. Therefore, disable .pkt_access for the two. Fixes: f1a2e44a3aec ("bpf: add queue and stack maps") Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Acked-by: Alexei Starovoitov <a...@kernel.org> Cc: Mauricio Vasquez B <mauricio.vasq...@polito.it>
Thanks for this as well. Acked-by: Mauricio Vasquez B<mauricio.vasq...@polito.it>