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

Fixed wrong counter modifying #1988

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

AMajor-C
Copy link

@AMajor-C AMajor-C commented Apr 24, 2024

Changes proposed in this pull request:

  • fixed wrong counter modifying

Related: #1854

@AMajor-C AMajor-C changed the title fixed wrong counter modifying Fixed wrong counter modifying Apr 24, 2024
@AMajor-C AMajor-C marked this pull request as ready for review April 24, 2024 13:55
@AMajor-C AMajor-C marked this pull request as draft April 24, 2024 13:56
@chipitsine
Copy link
Member

brief look at th PR gives me an idea that we leak something on l2tp client disconnect
so, if I for example connect/disconnect many times, I'll see something bad, right ?

@AMajor-C
Copy link
Author

AMajor-C commented Apr 25, 2024

brief look at th PR gives me an idea that we leak something on l2tp client disconnect so, if I for example connect/disconnect many times, I'll see something bad, right ?

In short - yes. But i did some tests and can say that it seems there is something also needs to be fixed. I need some time to investigate it in more detail. Fixing counter in this PR resolves problem when l2tp after "reconnect-spam" gets unaviailable at all with eating 100% core. So i marked it as draft.

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.

None yet

2 participants