summaryrefslogtreecommitdiff
path: root/net/switchdev
diff options
context:
space:
mode:
authorMichal Luczaj <mhal@rbox.co>2025-02-13 12:58:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-27 04:30:17 -0800
commit478a46f1122f0830392bef2a46a8d91d8abc354e (patch)
tree30e0fa216f2809c08fd5c6a57aad953e7a4a0410 /net/switchdev
parent22b683217ad2112791a708693cb236507abd637a (diff)
downloadlinux-478a46f1122f0830392bef2a46a8d91d8abc354e.tar.gz
linux-478a46f1122f0830392bef2a46a8d91d8abc354e.tar.bz2
linux-478a46f1122f0830392bef2a46a8d91d8abc354e.zip
vsock/bpf: Warn on socket without transport
[ Upstream commit 857ae05549ee2542317e7084ecaa5f8536634dd9 ] 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 <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>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions