Skip to content

processmanager/ebpf: return on success#397

Merged
florianl merged 1 commit intomainfrom
issue-392
Mar 13, 2025
Merged

processmanager/ebpf: return on success#397
florianl merged 1 commit intomainfrom
issue-392

Conversation

@florianl
Copy link
Copy Markdown
Member

#390 introduced a bug by just adding a return if DeletePidPageMappingInfoBatch() fails. In the case where no error is returned by DeletePidPageMappingInfoBatch() the function continues with return impl.DeletePidPageMappingInfoSingle(pid, prefixes) and fails, as prefixes just got removed.

Fixes #392

#390 introduced a bug by just adding a return if DeletePidPageMappingInfoBatch() fails. In the case where no error is returned by DeletePidPageMappingInfoBatch() the function continues with `return impl.DeletePidPageMappingInfoSingle(pid, prefixes)` and fails, as prefixes just got removed.

Fixes #392

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@florianl florianl requested review from a team as code owners March 13, 2025 14:43
Copy link
Copy Markdown
Member

@christos68k christos68k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops 😅

@florianl florianl enabled auto-merge (squash) March 13, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to delete mappings / key does not exist

3 participants