Skip to content
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

Net mgmt socket fixes #69424

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

jukkar
Copy link
Member

@jukkar jukkar commented Feb 25, 2024

Noticed two issues when experimenting with AF_NET_MGMT type socket:

  • it cannot support poll() with current implementation so return EOPNOTSUPP to the caller
  • net sockets printed the socket family wrong for management sockets

The net_mgmt socket does not support poll() or fcntl(), so
return EOPNOTSUPP error if user tries to use those functions
for AF_NET_MGMT type socket.

Signed-off-by: Jukka Rissanen <[email protected]>
The "net sockets" command did not print network management
socket information properly but claimed that the socket
was IPv4 one which it is not.

Signed-off-by: Jukka Rissanen <[email protected]>
@aescolar aescolar merged commit bdfcc75 into zephyrproject-rtos:main Feb 28, 2024
27 checks passed
@jukkar jukkar deleted the devel/net-mgmt-socket-fixes branch February 28, 2024 11:50
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.

6 participants