Skip to content

vsock/tsi_dgram: Make sendto_addr bind to correct socket adress#659

Open
mtjhrc wants to merge 1 commit intocontainers:mainfrom
mtjhrc:fix-tsi-bind
Open

vsock/tsi_dgram: Make sendto_addr bind to correct socket adress#659
mtjhrc wants to merge 1 commit intocontainers:mainfrom
mtjhrc:fix-tsi-bind

Conversation

@mtjhrc
Copy link
Copy Markdown
Collaborator

@mtjhrc mtjhrc commented Apr 30, 2026

We need to bind to the correct socket types (IPv6, Unix) instead of only IPv4. This fixes UDP and unix dgram tests hanging when waiting for reply.

This supersedes #658 by also fixing an issue for unix datagram sockets over TSI.

@mtjhrc mtjhrc changed the title vsock/tsi_dgram: Make send_to bind to correct socket adress structs vsock/tsi_dgram: Make send_to bind to correct socket adress Apr 30, 2026
@mtjhrc mtjhrc changed the title vsock/tsi_dgram: Make send_to bind to correct socket adress vsock/tsi_dgram: Make sendto_addr bind to correct socket adress Apr 30, 2026
We need to bind to the correct socket types (IPv6, Unix) instead of only IPv4.
This fixes UDP and unix dgram tests hanging when waiting for reply.

Reported-by: Jan Noha <nohajc@gmail.com>

Signed-off-by: Matej Hrica <mhrica@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant