Re: [PATCH bpf-next] bpf: Remove unnecessary ring buffer size check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Tue,  4 Jul 2023 15:40:14 +0800 you wrote:
> From: Hou Tao <houtao1@xxxxxxxxxx>
> 
> The theoretical maximum size of ring buffer is about 64GB, but now the
> size of ring buffer is specified by max_entries in bpf_attr and its
> maximum value is (4GB - 1), and it won't be possible for overflow.
> 
> So just remove the unnecessary size check in ringbuf_map_alloc() but
> keep the comments for possible extension in future.
> 
> [...]

Here is the summary with links:
  - [bpf-next] bpf: Remove unnecessary ring buffer size check
    https://git.kernel.org/bpf/bpf-next/c/cf6eeb8f9dac

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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux