Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Nov 10, 2025

Allow netlink sockets to send to RTMGRP_LINK

sendmsg() to the multicast group now works. connect() is still disallowed.

This patch also reduces the length for which a netlink socket's mu is held.
Previously, once it was taken in Socket.sendMsg(), it was held throughout
Protocol.Receive() -> Socket.ProcessMessages() -> Socket.SendResponse().
When in fact the only field it was needed for was Socket.portID.

@copybara-service copybara-service bot added the exported Issue was exported automatically label Nov 10, 2025
@copybara-service copybara-service bot changed the title [WIP] Allow netlink sockets to send to RTMGRP_LINK Allow netlink sockets to send to RTMGRP_LINK Nov 10, 2025
@copybara-service copybara-service bot force-pushed the test/cl830546353 branch 3 times, most recently from f99b348 to 6237637 Compare November 25, 2025 00:50
sendmsg() to the multicast group now works. connect() is still disallowed.

This patch also reduces the length for which a netlink socket's mu is held.
Previously, once it was taken in Socket.sendMsg(), it was held throughout
Protocol.Receive() -> Socket.ProcessMessages() -> Socket.SendResponse().
When in fact the only field it was needed for was Socket.portID.

PiperOrigin-RevId: 836418153
@copybara-service copybara-service bot merged commit 95f8769 into master Nov 25, 2025
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl830546353 branch November 25, 2025 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant