Re: [PATCH bpf 1/4] bpf, vsock: Fix poll() missing a queue

2024-11-22 Thread Luigi Leonardi
/* For datagram sockets we can read if there is something in >* the queue and write as long as the socket isn't shutdown for LGTM, thanks! Reviewed-by: Luigi Leonardi

Re: [PATCH bpf 3/4] bpf, vsock: Invoke proto::close on close()

2024-11-22 Thread Luigi Leonardi
I spent some time checking and nobody but __sock_create (net/socket.c) and vsock_release can set sock->sk to NULL. I also ran checkpatch, everything LGTM. Thanks for the fix! Reviewed-by: Luigi Leonardi