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: rpmsgdrv.c: prevent potential danger #190

Merged
merged 1 commit into from
Dec 5, 2023
Merged

net: rpmsgdrv.c: prevent potential danger #190

merged 1 commit into from
Dec 5, 2023

Conversation

eenurkka
Copy link

@eenurkka eenurkka commented Dec 4, 2023

Provide support for NET_RPMSG_TRANSFER only:

"It is recommended to drop all messages with commands other than NET_RPMSG_TRANSFER in function net_rpmsg_drv_ept_cb() of the flight controller."

Summary

As described in DP-7311

Impact

Testing

NuttX / AMP mode with Linux kernel / ping -A between NuttX and Linux

Provide support for NET_RPMSG_TRANSFER only:

"It is recommended to drop all messages with commands other than
NET_RPMSG_TRANSFER in function net_rpmsg_drv_ept_cb() of the
flight controller."

Signed-off-by: Eero Nurkkala <[email protected]>
Copy link

@pussuw pussuw left a comment

Choose a reason for hiding this comment

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

I assume this won't be upstreamed ?

@eenurkka
Copy link
Author

eenurkka commented Dec 5, 2023

I assume this won't be upstreamed ?

Won't be, I think

Copy link

@jpaali jpaali left a comment

Choose a reason for hiding this comment

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

yes, this cannot be upstreamed.

@eenurkka eenurkka merged commit b1d7e41 into master Dec 5, 2023
6 of 8 checks passed
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.

4 participants