Message ID | 20230519225157.760788-1-aditi.ghag@isovalent.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf: Add socket destroy capability | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Martin KaFai Lau <martin.lau@kernel.org>: On Fri, 19 May 2023 22:51:48 +0000 you wrote: > This patch set adds the capability to destroy sockets in BPF. We plan to > use the capability in Cilium to force client sockets to reconnect when > their remote load-balancing backends are deleted. The other use case is > on-the-fly policy enforcement where existing socket connections > prevented by policies need to be terminated. > > The use cases, and more details around > the selected approach were presented at LPC 2022 - > https://lpc.events/event/16/contributions/1358/. > RFC discussion - > https://lore.kernel.org/netdev/CABG=zsBEh-P4NXk23eBJw7eajB5YJeRS7oPXnTAzs=yob4EMoQ@mail.gmail.com/T/#u. > v8 patch series - > https://lore.kernel.org/bpf/20230517175359.527917-1-aditi.ghag@isovalent.com/ > > [...] Here is the summary with links: - [v9,bpf-next,1/9] bpf: tcp: Avoid taking fast sock lock in iterator https://git.kernel.org/bpf/bpf-next/c/9378096e8a65 - [v9,bpf-next,2/9] udp: seq_file: Helper function to match socket attributes https://git.kernel.org/bpf/bpf-next/c/f44b1c515833 - [v9,bpf-next,3/9] bpf: udp: Encapsulate logic to get udp table https://git.kernel.org/bpf/bpf-next/c/7625d2e9741c - [v9,bpf-next,4/9] udp: seq_file: Remove bpf_seq_afinfo from udp_iter_state https://git.kernel.org/bpf/bpf-next/c/e4fe1bf13e09 - [v9,bpf-next,5/9] bpf: udp: Implement batching for sockets iterator https://git.kernel.org/bpf/bpf-next/c/c96dac8d369f - [v9,bpf-next,6/9] bpf: Add kfunc filter function to 'struct btf_kfunc_id_set' https://git.kernel.org/bpf/bpf-next/c/e924e80ee6a3 - [v9,bpf-next,7/9] bpf: Add bpf_sock_destroy kfunc https://git.kernel.org/bpf/bpf-next/c/4ddbcb886268 - [v9,bpf-next,8/9] selftests/bpf: Add helper to get port using getsockname https://git.kernel.org/bpf/bpf-next/c/176ba657e6aa - [v9,bpf-next,9/9] selftests/bpf: Test bpf_sock_destroy https://git.kernel.org/bpf/bpf-next/c/1a8bc2299f40 You are awesome, thank you!