Thread (2 messages) 2 messages, 2 authors, 2022-07-05

Re: [PATCH bpf-next] bpf: omit superfluous address family check in __bpf_skc_lookup

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-07-05 10:00:19
Also in: bpf

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann [off-list ref]:

On Thu, 30 Jun 2022 10:26:18 +0200 you wrote:
family is only set to either AF_INET or AF_INET6 based on len. In all
other cases we return early. Thus the check against AF_UNSPEC can be
omitted.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 net/core/filter.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Here is the summary with links:
  - [bpf-next] bpf: omit superfluous address family check in __bpf_skc_lookup
    https://git.kernel.org/bpf/bpf-next/c/2064a132c0de

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