-
Notifications
You must be signed in to change notification settings - Fork 165
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
fix(kmod): safer ppm_get_mm_exe_file #1341
fix(kmod): safer ppm_get_mm_exe_file #1341
Conversation
Leverage `get_file_rcu` being a define to use the safer version of `get_mm_exe_file`. This will allow kernel versions prior to 4.1, but with the fix being backported don't suffer RCU violations. Co-authored-by: Joseph Pittman <[email protected]> Signed-off-by: Angelo Puglisi <[email protected]>
Please double check driver/API_VERSION file. See versioning. /hold |
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.
/approve
LGTM label has been added. Git tree hash: 8112dc13fb438d3f7eea44c32dd923fcead8fb36
|
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Andreagit97, deepskyblue86, jasondellaluce The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Driver 6.0.1 incoming? @Andreagit97 |
/unhold |
/milestone 6.0.1+driver |
/milestone 6.0.1+driver |
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Leverage
get_file_rcu
being a define to use the safer version ofget_mm_exe_file
.This will allow kernel versions prior to 4.1, but with the fix being backported don't suffer RCU violations.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: