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

create in handle_f_teid is wrong #35

Closed
RoadRunnr opened this issue Dec 1, 2020 · 2 comments
Closed

create in handle_f_teid is wrong #35

RoadRunnr opened this issue Dec 1, 2020 · 2 comments
Assignees

Comments

@RoadRunnr
Copy link
Member

somewhat related to #34

For Update PDR, handle_f_teid is called with create = false. Despite that setting, a new TEID would still be allocated, only the registration of the new TEID would be skipped. This is clearly wrong, when a new TEID is allocated is must also registered.

The other question is if a Update PDR should be permitted to allocate a new TEID. There is no clear guidance spelled out in the specification. All references to F-TEID allocation always put this into relation of PDR creation. The is no mentioning of PDR modification in this context. It seems therefore safe to assume that a Update PDR might only reference an already allocated F-TEID, but might not by itself allocated a new F-TEID.

The choose mechanism in handle_f_teid therefore needs to be adjusted to only allocate a new F-TEID when create is true.

Note: it would be legal in a modify request to have a Create PDR that creates a new F-TEID and a Update PDR that references that new F-TEID. There is no order requirement for PFCP IEs, the Update PDR could therefore be encoded in the PFCP request before the Update PDR. This is not a problem for our current implementation that uses a fixed ordering when processing IE and will always process the Create PDR before the Update PDR

@sergeymatov
Copy link
Contributor

ack, starting work on this

@sergeymatov
Copy link
Contributor

I suppose it can be closed

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

No branches or pull requests

2 participants