Re: [PATCH bpf] samples/bpf: Fix the error return code of xdp_redirect's main()
Date: Fri Jun 18 2021 - 14:20:11 EST
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()
You are awesome, thank you!
Deet-doot-dot, I am a bot.