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

fix wasted control_ping_id caching #221

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

bor1go
Copy link
Contributor

@bor1go bor1go commented Jun 19, 2024

When you update asan-dbg vpp from one version to another with different id's for "control_ping" api-call, you get a coredump in vpp because these counters haven't been updated during table reset. It happens here: https://github.com/FDio/govpp/blob/master/core/request_handler.go#L160

during a reconnect, when msg table is reset, these fields aren't
and crash the vpp next time.
@bor1go
Copy link
Contributor Author

bor1go commented Jun 20, 2024

@ondrej-fabry hello!
Kindly please take a look.

@ondrej-fabry ondrej-fabry merged commit 2ca162e into FDio:master Jun 25, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants