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: DRB lost issue when additional TFTs needs to be added to existing bearer with TFTs #1019

Merged
merged 1 commit into from May 28, 2021

Conversation

herlesupreeth
Copy link
Contributor

This commit address the issue where a bearer with particular
PCC rule name exists with TFTs and addtional TFTs needs to be added
to same bearer and DRB lost is reported by UE.

This is achieved by creating EPS Bearer Level Traffic Flow Template
with TFT operation code as 'OGS_GTP_TFT_CODE_ADD_PACKET_FILTERS_TO_EXISTING_TFT' in
above scenario rather than use 'OGS_GTP_TFT_CODE_CREATE_NEW_TFT' at all times.
And, not remove existing packet filters for the bearer.

Attaching the pcap containing the issue, observe that after packet 1883, the RTP packets are flowing over default bearer for IMS signalling
drb_lost_before_fix.zip

…g bearer with TFTs

This commit address the issue where a bearer with particular
PCC rule name exists with TFTs and addtional TFTs needs to be added
to same bearer and DRB lost is reported by UE.

This is achieved by creating EPS Bearer Level Traffic Flow Template
with TFT operation code as 'OGS_GTP_TFT_CODE_ADD_PACKET_FILTERS_TO_EXISTING_TFT' in
above scenario rather than use 'OGS_GTP_TFT_CODE_CREATE_NEW_TFT' at all times.
And, not remove existing packet filters for the bearer.
acetcom added a commit that referenced this pull request May 28, 2021
commit 183d8b8344122f25f77be79b1b698c71f48c1656
Author: Sukchan Lee <acetcom@gmail.com>
Date:   Fri May 28 23:44:26 2021 +0900

    [SMF] introduce new list API [#1019]

    Sometimes we may need two lists for same node.
    To do this, I created a new list API, and applied it this pull request.
@acetcom acetcom merged commit 4d6692d into open5gs:main May 28, 2021
@acetcom
Copy link
Member

acetcom commented May 28, 2021

Hi @herlesupreeth

You have constructed two lists(bearer->pf_list and pf_to_add_list) for one node(smf_pf_t). I've analyzed your code and I don't think there are any bugs.

However, I think this approach can be misleading and confusing when others read this code. So, I created a new list API and modified it like that.

And also, I changed the smf_pf_find_by_flow() location.

Let me know if you have any different idea.

Thank you for your great work!
Sukchan

@herlesupreeth
Copy link
Contributor Author

Nice solution. Thank you

@herlesupreeth herlesupreeth deleted the bugfix_drb_lost branch May 31, 2021 10:40
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