Files
linux-stable-mirror/net/vmw_vsock
Michal Luczaj 478a46f112 vsock/bpf: Warn on socket without transport
[ Upstream commit 857ae05549 ]

In the spirit of commit 91751e2482 ("vsock: prevent null-ptr-deref in
vsock_*[has_data|has_space]"), armorize the "impossible" cases with a
warning.

Fixes: 634f1a7110 ("vsock: support sockmap")
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-27 04:30:17 -08:00
..
2023-03-29 08:19:38 +01:00