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

Return EBUSY if driver is still being unloaded #3794

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Alan-Jowett
Copy link
Member

@Alan-Jowett Alan-Jowett commented Aug 28, 2024

Resolves: #2133

Description

This pull request introduces a new error code EBPF_BUSY to handle situations where operations cannot be completed due to the system being busy. The changes span multiple files to integrate this new error code into the existing error handling framework.

Error Handling Enhancements:

Testing Enhancements:

  • tests/api_test/api_test.cpp: Added a loop to retry loading a BPF object if the system is busy and introduced a new test case for the program load/attach/detach/unload cycle. [1] [2]

Testing

CI/CD

Documentation

No.

Installation

No.

@Alan-Jowett
Copy link
Member Author

UM tests are failing during native load

Alan Jowett added 3 commits October 4, 2024 13:45
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
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.

Native eBPF program attach failure causes the next valid attempt to fail
1 participant