Skip to content

usrsock_server: fix issues with usrsock_rpmsg_sendto_handler#9261

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
zhhyu7:upstream-6
May 12, 2023
Merged

usrsock_server: fix issues with usrsock_rpmsg_sendto_handler#9261
xiaoxiang781216 merged 1 commit into
apache:masterfrom
zhhyu7:upstream-6

Conversation

@zhhyu7
Copy link
Copy Markdown
Contributor

@zhhyu7 zhhyu7 commented May 12, 2023

Summary

If the current poll setup only has POLLIN, adding POLLOUT does not cause the protocol stack to refocus on flags such as TCP_ACK or UDP_POLL, the user is not notified when flags for POLLOUT relationships appear and vice versa, so we have to call poll_setup again.

Impact

Testing

sim:rpserver, sim:rpproxy and sim:usrsocktest

If the current poll setup only has POLLIN, adding POLLOUT does not cause the
protocol stack to refocus on flags such as TCP_ACK or UDP_POLL, the user is
not notified when flags for POLLOUT relationships appear and vice versa,
so we have to call poll_setup again.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 06a1020 into apache:master May 12, 2023
@zhhyu7 zhhyu7 deleted the upstream-6 branch June 12, 2023 09:04
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