-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drivers/encx24j600: Implemented missing drop case #10415
Conversation
The netdev_driver_t::recv implementation of the encx24j600 does not provide the drop feature. This commit adds it. Fixes: RIOT-OS#10410
I do not have the hardware to test this PR. This PR is therefore completely untested. |
Maybe @kaspar030 has the hardware and could test ? since he is the author of this driver. |
I can ACK the fundamentals and code design:
|
nothing interesting to report on coding style here, and documentation doesn't apply |
@bergzand, @smlng, @miri64, @kaspar030: Does someone of you have a device for testing? Also: If there is so little interest in this driver that security fixes do not get merged due to lack of testing, maybe we should consider to rather delete the driver than to continue shipping the vulnerable code? |
I only have the enc28j60, sorry |
Same here, only the enc28j60 😢 |
How about we add a feature to the build system to warn about modules that are in desperate need of love? Maybe even with a warning, something like: "If no one stands up to help or at least speaks up to keep this module for three releases, this module is going to be deleted." To me, this driver as well as a bunch of seemingly no longer used boards should be marked as such. If there is indeed no longer a user of that stuff, maintaining the code would be wasted effort. (To me it is important that hose warnings would make it in the release. Maybe an end user never cares to test with the current master, but only with the release. If we would add such a message, we should make sure that any potential user gets the hint and ideally contributes the testing result, or donates a piece of hardware to a willing core developer, or something.) |
I'm testing this now. The driver was basically broken since #8601... |
Driver still works as before with basic testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK.
Thanks for testing :-) |
Contribution description
The netdev_driver_t::recv implementation of the encx24j600 does not provide the drop feature. This PR adds it.
Testing procedure
It would be nice to add a test application for this, as many drivers are affected...
Issues/PRs references
#10410