Skip to content

cpud: Allow 32-bit vsock port numbers - #329

Merged
rminnich merged 1 commit into
u-root:mainfrom
brho:main
Oct 7, 2026
Merged

rminnich merged 1 commit into
u-root:mainfrom
brho:main

Conversation

@brho

@brho brho commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

vsock port numbers are 32-bit unsigned integers (uint32), matching the client's vsockIDPort() and vsock.ListenContextID(), but listen() only allowed 16-bit port numbers in strconv.ParseUint.

Assisted-By: LLM

vsock port numbers are 32-bit unsigned integers (uint32), matching the client's vsockIDPort() and vsock.ListenContextID(), but listen() only allowed 16-bit port numbers in strconv.ParseUint.

Signed-off-by: Barret Rhoden <brho@google.com>
@brho
brho requested a review from rminnich October 6, 2026 16:12
@rminnich
rminnich merged commit 1d15b8f into u-root:main Oct 7, 2026
13 checks passed
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.

3 participants