Re: [PATCH net-next] bpf: Fix map-in-map checking in the verifier

2017-08-18 Thread David Miller
From: Martin KaFai Lau Date: Thu, 17 Aug 2017 18:14:43 -0700 > In check_map_func_compatibility(), a 'break' has been accidentally > removed for the BPF_MAP_TYPE_ARRAY_OF_MAPS and BPF_MAP_TYPE_HASH_OF_MAPS > cases. This patch adds it back. > > Fixes: 174a79ff9515 ("bpf: sockmap with sk redirect

Re: [PATCH net-next] bpf: Fix map-in-map checking in the verifier

2017-08-18 Thread Daniel Borkmann
On 08/18/2017 03:14 AM, Martin KaFai Lau wrote: In check_map_func_compatibility(), a 'break' has been accidentally removed for the BPF_MAP_TYPE_ARRAY_OF_MAPS and BPF_MAP_TYPE_HASH_OF_MAPS cases. This patch adds it back. Fixes: 174a79ff9515 ("bpf: sockmap with sk redirect support") Cc: John Fast

Re: [PATCH net-next] bpf: Fix map-in-map checking in the verifier

2017-08-17 Thread John Fastabend
On 08/17/2017 06:17 PM, Alexei Starovoitov wrote: > On 8/17/17 6:14 PM, Martin KaFai Lau wrote: >> In check_map_func_compatibility(), a 'break' has been accidentally >> removed for the BPF_MAP_TYPE_ARRAY_OF_MAPS and BPF_MAP_TYPE_HASH_OF_MAPS >> cases. This patch adds it back. >> >> Fixes: 174a79ff

Re: [PATCH net-next] bpf: Fix map-in-map checking in the verifier

2017-08-17 Thread Alexei Starovoitov
On 8/17/17 6:14 PM, Martin KaFai Lau wrote: In check_map_func_compatibility(), a 'break' has been accidentally removed for the BPF_MAP_TYPE_ARRAY_OF_MAPS and BPF_MAP_TYPE_HASH_OF_MAPS cases. This patch adds it back. Fixes: 174a79ff9515 ("bpf: sockmap with sk redirect support") Cc: John Fastaben

[PATCH net-next] bpf: Fix map-in-map checking in the verifier

2017-08-17 Thread Martin KaFai Lau
In check_map_func_compatibility(), a 'break' has been accidentally removed for the BPF_MAP_TYPE_ARRAY_OF_MAPS and BPF_MAP_TYPE_HASH_OF_MAPS cases. This patch adds it back. Fixes: 174a79ff9515 ("bpf: sockmap with sk redirect support") Cc: John Fastabend Signed-off-by: Martin KaFai Lau --- kerne