Re: [PATCH bpf] samples/bpf: Fix the error return code of xdp_redirect's main()

From: patchwork-bot+netdevbpf
Date: Fri Jun 18 2021 - 14:20:11 EST


Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Wed, 16 Jun 2021 12:25:34 +0800 you wrote:
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
>
> If bpf_map_update_elem() failed, main() should return a negative error.
>
> Fixes: 832622e6bd18 ("xdp: sample program for new bpf_redirect helper")
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [bpf] samples/bpf: Fix the error return code of xdp_redirect's main()
https://git.kernel.org/bpf/bpf-next/c/7c6090ee2a7b

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