Message ID | 20210615021342.7416-1-xiyou.wangcong@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | sock_map: some bug fixes and improvements | expand |
On Tue, Jun 15, 2021 at 04:13 AM CEST, Cong Wang wrote: > From: Cong Wang <cong.wang@bytedance.com> > > This patchset contains a few bug fixes and improvements for sock_map. > > Patch 1 improves recvmsg() accuracy for UDP, patch 2 improves UDP > non-blocking read() by retrying on EAGAIN. With both of them, the > failure rate of the UDP test case goes down from 10% to 1%. > > Patch 3 is memory leak fix I posted, no change since v1. The rest > patches address similar memory leaks or improve error handling, > including one increases sk_drops counter for error cases. Please > check each patch description for more details. > > Acked-by: John Fastabend <john.fastabend@gmail.com> > > --- For the series: Acked-by: Jakub Sitnicki <jakub@cloudflare.com>
Hello: This series was applied to bpf/bpf.git (refs/heads/master): On Mon, 14 Jun 2021 19:13:34 -0700 you wrote: > From: Cong Wang <cong.wang@bytedance.com> > > This patchset contains a few bug fixes and improvements for sock_map. > > Patch 1 improves recvmsg() accuracy for UDP, patch 2 improves UDP > non-blocking read() by retrying on EAGAIN. With both of them, the > failure rate of the UDP test case goes down from 10% to 1%. > > [...] Here is the summary with links: - [RESEND,bpf,v3,1/8] skmsg: improve udp_bpf_recvmsg() accuracy https://git.kernel.org/bpf/bpf/c/9f2470fbc4cb - [RESEND,bpf,v3,2/8] selftests/bpf: Retry for EAGAIN in udp_redir_to_connected() https://git.kernel.org/bpf/bpf/c/a7e65fe7d820 - [RESEND,bpf,v3,3/8] udp: fix a memory leak in udp_read_sock() https://git.kernel.org/bpf/bpf/c/e00a5c331bf5 - [RESEND,bpf,v3,4/8] skmsg: clear skb redirect pointer before dropping it https://git.kernel.org/bpf/bpf/c/30b9c54a707d - [RESEND,bpf,v3,5/8] skmsg: fix a memory leak in sk_psock_verdict_apply() https://git.kernel.org/bpf/bpf/c/0cf6672b23c8 - [RESEND,bpf,v3,6/8] skmsg: teach sk_psock_verdict_apply() to return errors https://git.kernel.org/bpf/bpf/c/1581a6c1c329 - [RESEND,bpf,v3,7/8] skmsg: pass source psock to sk_psock_skb_redirect() https://git.kernel.org/bpf/bpf/c/42830571f1fd - [RESEND,bpf,v3,8/8] skmsg: increase sk->sk_drops when dropping packets https://git.kernel.org/bpf/bpf/c/781dd0431eb5 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html