Files
linux/kernel
Daniel Borkmann 80b0d86a17 bpf: fix direct packet write into pop/peek helpers
Commit f1a2e44a3a ("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: f1a2e44a3a ("bpf: add queue and stack maps")
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Mauricio Vasquez B <[email protected]>
Acked-by: Mauricio Vasquez B<[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
2018-10-25 17:02:06 -07:00
..
2018-06-12 16:19:22 -07:00
2018-10-09 15:08:46 +02:00
…
…
…
…
…
2018-04-27 14:34:51 +02:00
…
…
…
…
…
…
…
2018-09-20 22:01:11 +02:00
…
…
2018-10-09 17:25:58 +02:00
2018-07-03 09:20:44 +02:00
…
2018-09-20 22:01:11 +02:00
…