Skip to content

socketpair: fix allocated number of buffers #88537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JordanYates
Copy link
Collaborator

@JordanYates JordanYates commented Apr 12, 2025

According to f9901e8 and validated by testing, the supplicant only use case only requires 4 socket pairs. 6 pairs are required for the hostapd use case.

Copy link
Member

@jukkar jukkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit about the commit subjects. As this is a networking change it would be nice if you could add net: socketpair: ... prefix to the commit subjects.

Give the socketpair allocation strategy a name so that users can change
the default.

Signed-off-by: Jordan Yates <[email protected]>
According to `f9901e8e` and validated by testing, the supplicant only
use case only requires 4 socket pairs. 6 pairs are required for the
`hostapd` use case.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates JordanYates force-pushed the 250412_socketpair_cnt branch from 3c26e55 to 5db2626 Compare April 12, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants