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

rswitch: fix netdev initialization order #4

Open
wants to merge 1 commit into
base: v5.10.41/rcar-5.1.7.rc2
Choose a base branch
from

Conversation

lorc
Copy link

@lorc lorc commented Jul 26, 2022

Register netdev at the very end of rswitch device initialization. Else,
linux kernel might try to send packets before driver finishes chain and IRQ
configuration. This can lead to random memory corruption and GWCA will try to
access memory via un-initialized descriptors.

Signed-off-by: Volodymyr Babchuk [email protected]

Register netdev at the very end of rswitch device initialization. Else,
linux kernel might try to send packets before driver finishes chain and IRQ
configuration. This can lead to random memory corruption and GWCA will try to
access memory via un-initialized descriptors.

Signed-off-by: Volodymyr Babchuk <[email protected]>
@HaiNguyenPham
Copy link
Collaborator

Hello @lorc
Pulled in. Thanks!

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.

2 participants