Re: [PATCH net 2/4] vsock/bpf: Warn on socket without transport

2025-02-18 Thread Stefano Garzarella
On Mon, Feb 17, 2025 at 08:45:06PM +0100, Michal Luczaj wrote: On 2/17/25 11:59, Stefano Garzarella wrote: On Thu, Feb 13, 2025 at 12:58:50PM +0100, Michal Luczaj wrote: In the spirit of commit 91751e248256 ("vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]"), armorize the "impossib

Re: [PATCH net 2/4] vsock/bpf: Warn on socket without transport

2025-02-17 Thread Michal Luczaj
On 2/17/25 11:59, Stefano Garzarella wrote: > On Thu, Feb 13, 2025 at 12:58:50PM +0100, Michal Luczaj wrote: >> In the spirit of commit 91751e248256 ("vsock: prevent null-ptr-deref in >> vsock_*[has_data|has_space]"), armorize the "impossible" cases with a >> warning. >> >> Fixes: 634f1a7110b4 ("vs

Re: [PATCH net 2/4] vsock/bpf: Warn on socket without transport

2025-02-17 Thread Stefano Garzarella
On Thu, Feb 13, 2025 at 12:58:50PM +0100, Michal Luczaj wrote: In the spirit of commit 91751e248256 ("vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]"), armorize the "impossible" cases with a warning. Fixes: 634f1a7110b4 ("vsock: support sockmap") Signed-off-by: Michal Luczaj --- n

[PATCH net 2/4] vsock/bpf: Warn on socket without transport

2025-02-13 Thread Michal Luczaj
In the spirit of commit 91751e248256 ("vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]"), armorize the "impossible" cases with a warning. Fixes: 634f1a7110b4 ("vsock: support sockmap") Signed-off-by: Michal Luczaj --- net/vmw_vsock/af_vsock.c | 3 +++ net/vmw_vsock/vsock_bpf.c | 2