-
Notifications
You must be signed in to change notification settings - Fork 912
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
patch the max_consumers parameter of the Falco kernel-module driver #1485
Conversation
/cc @fntlnz |
kernel-module Falco driver Co-authored-by: Lorenzo Fontana <[email protected]> Signed-off-by: Leonardo Di Donato <[email protected]>
60279c6
to
5f34784
Compare
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.
Good catch!
LGTM, just left a comment.
- if(udig_alloc_ring_descriptors(&(handle->m_devs[0].m_bufinfo_fd), | ||
- &handle->m_devs[0].m_bufinfo, | ||
+ if(udig_alloc_ring_descriptors(&(handle->m_devs[0].m_bufinfo_fd), | ||
+ &handle->m_devs[0].m_bufinfo, |
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.
I would not include those cleaning of whitespaces in the patch unless there's a reason I did not understand; otherwise, it looks good to me.
LGTM label has been added. Git tree hash: 7a2672688b5a55482e903474bca0f98b19f627b9
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fntlnz, leogr 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 |
Co-authored-by: Lorenzo Fontana [email protected]
Signed-off-by: Leonardo Di Donato [email protected]
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Which issue(s) this PR fixes:
NONE
Special notes for your reviewer:
This bug happens when many Falco instances start because the check of how many driver consumers can work at the same time is not correct.
Does this PR introduce a user-facing change?: