netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf v2 0/4] bpf, vsock: Fixes related to sockmap/sockhash redirection
@ 2024-10-13 16:26 Michal Luczaj
  2024-10-13 16:26 ` [PATCH bpf v2 1/4] bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsock Michal Luczaj
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Michal Luczaj @ 2024-10-13 16:26 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	John Fastabend, Jakub Sitnicki, Michael S. Tsirkin,
	Stefano Garzarella, Bobby Eshleman, Stefan Hajnoczi
  Cc: netdev, bpf, Michal Luczaj

Series consists of few fixes for issues uncovered while working on a BPF
sockmap/sockhash redirection selftest.

The last patch is more of a RFC clean up attempt. Patch claims that there's
no functional change, but effectively it removes (never touched?) reference
to sock_map_unhash().

Signed-off-by: Michal Luczaj <mhal@rbox.co>
---
Changes in v2:
- Patch 2/4: Send a credit update [Stefano]
- Collect Reviewed-by
- Link to v1: https://lore.kernel.org/r/20241009-vsock-fixes-for-redir-v1-0-e455416f6d78@rbox.co

---
Michal Luczaj (4):
      bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsock
      vsock: Update rx_bytes on read_skb()
      vsock: Update msg_count on read_skb()
      bpf, vsock: Drop static vsock_bpf_prot initialization

 include/net/sock.h                      |  5 +++++
 net/core/sock_map.c                     |  8 ++++++++
 net/vmw_vsock/virtio_transport_common.c | 14 ++++++++++++--
 net/vmw_vsock/vsock_bpf.c               |  8 --------
 4 files changed, 25 insertions(+), 10 deletions(-)
---
base-commit: afeb2b51a761c9c52be5639eb40460462083f222
change-id: 20241009-vsock-fixes-for-redir-86707e1e8c04

Best regards,
-- 
Michal Luczaj <mhal@rbox.co>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-17 11:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-13 16:26 [PATCH bpf v2 0/4] bpf, vsock: Fixes related to sockmap/sockhash redirection Michal Luczaj
2024-10-13 16:26 ` [PATCH bpf v2 1/4] bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsock Michal Luczaj
2024-10-13 16:26 ` [PATCH bpf v2 2/4] vsock: Update rx_bytes on read_skb() Michal Luczaj
2024-10-15  8:29   ` Stefano Garzarella
2024-10-13 16:26 ` [PATCH bpf v2 3/4] vsock: Update msg_count " Michal Luczaj
2024-10-13 16:26 ` [PATCH bpf v2 4/4] bpf, vsock: Drop static vsock_bpf_prot initialization Michal Luczaj
2024-10-15  8:31 ` [PATCH bpf v2 0/4] bpf, vsock: Fixes related to sockmap/sockhash redirection Stefano Garzarella
2024-10-16 18:25 ` John Fastabend
2024-10-17 11:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).