Mircea Cirjaliu 31ad072925 bpf: Fix helper bpf_map_peek_elem_proto pointing to wrong callback
commit 301a33d51880619d0c5a581b5a48d3a5248fa84b upstream.

I assume this was obtained by copy/paste. Point it to bpf_map_peek_elem()
instead of bpf_map_pop_elem(). In practice it may have been less likely
hit when under JIT given shielded via 84430d4232c3 ("bpf, verifier: avoid
retpoline for map push/pop/peek operation").

Fixes: f1a2e44a3aec ("bpf: add queue and stack maps")
Signed-off-by: Mircea Cirjaliu <mcirjaliu@bitdefender.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Mauricio Vasquez <mauriciovasquezbernal@gmail.com>
Link: https://lore.kernel.org/bpf/AM7PR02MB6082663DFDCCE8DA7A6DD6B1BBA30@AM7PR02MB6082.eurprd02.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-23 16:03:59 +01:00
..
2020-09-11 09:33:54 -07:00
2020-11-27 10:38:36 -08:00
2020-08-26 09:10:39 -04:00
2020-08-04 14:20:26 -07:00
2020-08-12 10:58:02 -07:00
2020-12-11 14:02:14 -08:00
2020-11-14 11:26:04 -08:00
2020-07-27 14:31:12 -04:00
2019-12-18 18:07:31 +01:00
2020-07-07 11:58:59 -05:00