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

netdev: fix device address setting for kernel > 5.15 #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DSI-JBenway
Copy link

An "Incompatible netdev->dev_addr" occurs when using this driver on kernels > 5.15. For these kernels, eth_hw_addr_set() should be used instead of memcpy().

eth_hw_addr_set was introduced on v5.15-rc1
torvalds/linux@48eab83

examples
torvalds/linux@b57ceb1
torvalds/linux@349f631

This change has already been applied upstream in Etherlab:
https://gitlab.com/etherlab.org/ethercat/-/commit/d301cbb992e80218735b81c73d49fec705f91d08

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.

1 participant