tests: net: socket: socketpair: fails due to empty message header name #25925
Labels
area: Networking
area: Tests
Issues related to a particular existing or missing test
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Milestone
Describe the bug
Running test tests/net/socket/socketpair/ fails.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
test passed
Screenshots or console output
Analysis
This is a regression introduced with PR #25706
Due to new check on messages parameters, test fails because in function
happy_path()
,msghdr.msg_name
is not set and thus equal 0 (and the same for msg_namelen)But in net_ip.h, in the structure comment, it seems this name is optional:
So I don't know whether
or
Note: probably the same will happend with
msg_control
field of the structureThe text was updated successfully, but these errors were encountered: