gtp: Document spec reasoning drop of Rx DeleteCtxReq

Change-Id: I563fc0b48595d71ebdf56a50f4e9984eee423676
This commit is contained in:
Pau Espin 2019-05-30 13:36:10 +02:00
parent 72ab4bc547
commit 742a6b55ce
1 changed files with 8 additions and 0 deletions

View File

@ -2613,6 +2613,14 @@ int gtp_delete_pdp_ind(struct gsn_t *gsn, int version,
gtpie_gettv1(ie, GTPIE_TEARDOWN, 0, &teardown);
if (!teardown) {
/* TS 29.060 section 7.3.5: If a GSN receives a Delete PDP context
* without a Teardown Indicator or with a Teardown Indicator with
* value set to "0" and only that PDP context is active for a PDN
* connection, then the GSN shall ignore the message. (Note:
* This is symptom of a race condition. The reliable delivery of
* signalling messages will eventually lead to a consistent
* situation, allowing the teardown of the PDP context.)
*/
for (n = 0; n < PDP_MAXNSAPI; n++)
if (linked_pdp->secondary_tei[n])
count++;