Messages in this thread | | | Subject | Re: [PATCH net-next v3] sctp: add bpf_bypass_getsockopt proto callback | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 12 May 2023 09:10:21 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>:
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
| |