Thread (4 messages) 4 messages, 3 authors, 2021-07-05

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-18 18:20:11
Also in: bpf, lkml

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 <redacted>

[...]
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help