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(agw): Modified code to replace state_teid_hash list to protobuf map in spgw task #13835

Closed
wants to merge 6 commits into from

Conversation

rsarwad
Copy link
Contributor

@rsarwad rsarwad commented Sep 5, 2022

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.

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>
@rsarwad rsarwad requested review from a team and ardzoht September 5, 2022 05:23
@pull-request-size pull-request-size bot added the size/L Denotes a Pull Request that changes 100-499 lines. label Sep 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot added the component: agw Access gateway-related issue label Sep 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

@@ -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);
Copy link
Contributor

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);
Copy link
Contributor

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);
Copy link
Contributor

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]

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

feg-workflow

    2 files  203 suites   40s ⏱️
374 tests 374 ✔️ 0 💤 0
388 runs  388 ✔️ 0 💤 0

Results for commit f4760bf.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

dp-workflow

14 tests   14 ✔️  2m 26s ⏱️
  1 suites    0 💤
  1 files      0

Results for commit f4760bf.

@rsarwad rsarwad closed this Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: agw Access gateway-related issue size/L Denotes a Pull Request that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant