On Tue, May 12, 2020 at 8:21 PM Yonghong Song <y...@fb.com> wrote:
>
>
>
> On 5/12/20 4:59 PM, Andrii Nakryiko wrote:
> > mmap() subsystem allows user-space application to memory-map region with
> > initial page offset. This wasn't taken into account in initial 
> > implementation
> > of BPF array memory-mapping. This would result in wrong pages, not taking 
> > into
> > account requested page shift, being memory-mmaped into user-space. This 
> > patch
> > fixes this gap and adds a test for such scenario.
> >
> > Fixes: fc9702273e2e ("bpf: Add mmap() support for BPF_MAP_TYPE_ARRAY")
> > Signed-off-by: Andrii Nakryiko <andr...@fb.com>
> Acked-by: Yonghong Song <y...@fb.com>

Applied. Thanks

Reply via email to