diff options
| author | Michal Luczaj <[email protected]> | 2025-02-13 11:58:50 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-02-18 11:00:01 +0000 |
| commit | 857ae05549ee2542317e7084ecaa5f8536634dd9 (patch) | |
| tree | 7be39d140f3ad13f7b8926196745c21c6d01cac2 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | sockmap, vsock: For connectible sockets allow only connected (diff) | |
| download | kernel-857ae05549ee2542317e7084ecaa5f8536634dd9.tar.gz kernel-857ae05549ee2542317e7084ecaa5f8536634dd9.zip | |
vsock/bpf: Warn on socket without transport
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 <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
