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

tls: add the missing wrapper around SlotImpl allocation. #8290

Merged
merged 19 commits into from
Oct 3, 2019

Conversation

stevenzzzz
Copy link
Contributor

Description: Add Wrapper around newly allocated SlotImpl.
This was missed in PR 8135. Which means newly created TLS are deallocated in the old way( destructed on owner destruction possible race, but the race window is really small, see issue #7902 )
Risk Level: Medium
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

… to it.

Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
…t callback on destruction of the ref-count shared_ptr

Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
…achable-slot

Signed-off-by: Xin Zhuang <stevenzzz@google.com>
…achable-slot

Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
…achable-slot

Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
@stevenzzzz
Copy link
Contributor Author

/assign htuch

@mattklein123
Copy link
Member

Please add a test that covers whatever bug this is. Thank you!

/wait

…achable-slot

Signed-off-by: Xin Zhuang <stevenzzz@google.com>
@stale
Copy link

stale bot commented Sep 26, 2019

This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale stalebot believes this issue/PR has not been touched recently label Sep 26, 2019
@stevenzzzz
Copy link
Contributor Author

/nostale
Sorry, this is on my radar. I have some cycles now, still adding test.

@stale stale bot removed the stale stalebot believes this issue/PR has not been touched recently label Sep 26, 2019
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
@stevenzzzz
Copy link
Contributor Author

/assign mattklein123
Have to add the test as a friend.
PTAL.

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

@mattklein123 mattklein123 merged commit d7ae85b into envoyproxy:master Oct 3, 2019
@stevenzzzz
Copy link
Contributor Author

thx!

danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Oct 4, 2019
jplevyak pushed a commit to jplevyak/envoy that referenced this pull request Oct 10, 2019
nandu-vinodan pushed a commit to nandu-vinodan/envoy that referenced this pull request Oct 17, 2019
@stevenzzzz stevenzzzz deleted the detachable-slot branch October 31, 2019 03:08
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.

3 participants