# Re: \[PATCH bpf-next v2\] bpf: use VM\_MAP instead of VM\_ALLOC for ringbuf

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2022-02-03 07:30:12 
- List: netdev
- Page: https://ratatoskr.run/netdev/2022/02/7793259
- Thread: https://ratatoskr.run/netdev/2022/02/7793195/t.md

```text
Hello:

This patch was applied to bpf/bpf.git (master)
by Andrii Nakryiko [ref]:

On Wed,  2 Feb 2022 14:01:58 +0800 you wrote:
> After commit 2fd3fb0be1d1 ("kasan, vmalloc: unpoison VM_ALLOC pages
> after mapping"), non-VM_ALLOC mappings will be marked as accessible
> in __get_vm_area_node() when KASAN is enabled. But now the flag for
> ringbuf area is VM_ALLOC, so KASAN will complain out-of-bound access
> after vmap() returns. Because the ringbuf area is created by mapping
> allocated pages, so use VM_MAP instead.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2] bpf: use VM_MAP instead of VM_ALLOC for ringbuf
    https://git.kernel.org/bpf/bpf/c/b293dcc473d2

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


```
