Thread (5 messages) 5 messages, 5 authors, 2023-05-15

Re: [PATCH net-next v3] sctp: add bpf_bypass_getsockopt proto callback

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-05-12 09:10:32
Also in: linux-sctp, lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller [off-list ref]:

On Thu, 11 May 2023 15:25:06 +0200 you wrote:
Implement ->bpf_bypass_getsockopt proto callback and filter out
SCTP_SOCKOPT_PEELOFF, SCTP_SOCKOPT_PEELOFF_FLAGS and SCTP_SOCKOPT_CONNECTX3
socket options from running eBPF hook on them.

SCTP_SOCKOPT_PEELOFF and SCTP_SOCKOPT_PEELOFF_FLAGS options do fd_install(),
and if BPF_CGROUP_RUN_PROG_GETSOCKOPT hook returns an error after success of
the original handler sctp_getsockopt(...), userspace will receive an error
from getsockopt syscall and will be not aware that fd was successfully
installed into a fdtable.

[...]
Here is the summary with links:
  - [net-next,v3] sctp: add bpf_bypass_getsockopt proto callback
    https://git.kernel.org/netdev/net-next/c/2598619e012c

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