diff options
author | Michal Luczaj <mhal@rbox.co> | 2025-02-13 14:58:51 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-02-18 14:00:01 +0300 |
commit | 8350695bfb169b1924626a68f76b369ad01f18f2 (patch) | |
tree | 66ac6fc2c53bf050cf78ee17d6e8933efc022c85 /scripts/generate_rust_analyzer.py | |
parent | 857ae05549ee2542317e7084ecaa5f8536634dd9 (diff) | |
download | linux-8350695bfb169b1924626a68f76b369ad01f18f2.tar.xz |
selftest/bpf: Adapt vsock_delete_on_close to sockmap rejecting unconnected
Commit 515745445e92 ("selftest/bpf: Add test for vsock removal from sockmap
on close()") added test that checked if proto::close() callback was invoked
on AF_VSOCK socket release. I.e. it verified that a close()d vsock does
indeed get removed from the sockmap.
It was done simply by creating a socket pair and attempting to replace a
close()d one with its peer. Since, due to a recent change, sockmap does not
allow updating index with a non-established connectible vsock, redo it with
a freshly established one.
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions