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

[PATCH v2] linux-gen: dma: fix potential session leak #1919

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

TuomasTaipale
Copy link
Collaborator

@TuomasTaipale TuomasTaipale commented Sep 29, 2023

In case of stash creation failure during DMA session creation, reset the session activity state to inactive to prevent a session leak.

v2:

  • Added reviewed-by tag

@odpbuild odpbuild changed the title linux-gen: dma: fix potential session leak [PATCH v1] linux-gen: dma: fix potential session leak Sep 29, 2023
In case of stash creation failure during DMA session creation, reset the
session activity state to inactive to prevent a session leak.

Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
@odpbuild odpbuild changed the title [PATCH v1] linux-gen: dma: fix potential session leak [PATCH v2] linux-gen: dma: fix potential session leak Sep 29, 2023
@MatiasElo MatiasElo merged commit 0920804 into OpenDataPlane:master Oct 3, 2023
174 checks passed
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