Re: [PATCH bpf-next] bpf: Add comment about helper freeze

From: Daniel Xu
Date: Tue Feb 04 2025 - 04:08:17 EST


On Tue, Feb 04, 2025 at 10:00:21AM +0800, Levi Zim via B4 Relay wrote:
> From: Levi Zim <rsworktech@xxxxxxxxxxx>
>
> Put a comment after the bpf helper list in uapi bpf.h to prevent people
> from trying to add new helpers there and direct them to kfuncs.
>
> Link: https://lore.kernel.org/bpf/CAEf4BzZvQF+QQ=oip4vdz5A=9bd+OmN-CXk5YARYieaipK9s+A@xxxxxxxxxxxxxx/
> Link: https://lore.kernel.org/bpf/20221231004213.h5fx3loccbs5hyzu@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
> Suggested-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
> Signed-off-by: Levi Zim <rsworktech@xxxxxxxxxxx>
> ---
> Put a comment after the bpf helper list in uapi bpf.h to prevent people
> from trying to add new helpers there and direct them to kfuncs.
> ---
> include/uapi/linux/bpf.h | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>

Acked-by: Daniel Xu <dxu@xxxxxxxxx>