-
Notifications
You must be signed in to change notification settings - Fork 592
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(agw): Modified code to replace state_teid_hash list to protobuf map in spgw task #13835
Conversation
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
Oops! Looks like you failed the Howto |
@@ -54,7 +48,7 @@ void delete_pending_procedures( | |||
base_proc1 = base_proc2; | |||
} | |||
LIST_INIT(ctx_p->pending_procedures); | |||
free_wrapper((void**)&ctx_p->pending_procedures); | |||
free_cpp_wrapper((void**)&ctx_p->pending_procedures); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]
delete_pending_procedures( | ||
&(context_p->sgw_eps_bearer_context_information)); | ||
|
||
free_cpp_wrapper((void**)ptr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]
@@ -1475,7 +1475,7 @@ void sgw_s8_proc_s11_create_bearer_rsp( | |||
if (pgw_ni_cbr_proc && (LIST_EMPTY(pgw_ni_cbr_proc->pending_eps_bearers))) { | |||
pgw_base_proc_t* base_proc1 = LIST_FIRST(sgw_context_p->pending_procedures); | |||
LIST_REMOVE(base_proc1, entries); | |||
free_wrapper((void**)&sgw_context_p->pending_procedures); | |||
free_cpp_wrapper((void**)&sgw_context_p->pending_procedures); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]
Summary
fix(agw): Modified code to replace state_teid_hash list to protobuf map in spgw task
Test Plan
Executed s1ap sanity test suite and unit test cases.