gtp: Log ignore CTX DEL REQ due to no teardown and only 1 ctx active

Change-Id: Ic950c04d309d5686bfbeab332f79c48678e743ae
This commit is contained in:
Pau Espin 2018-07-13 19:11:45 +02:00
parent a32e4c4fb8
commit d1bd6fce9c
1 changed files with 3 additions and 0 deletions

View File

@ -2553,6 +2553,9 @@ int gtp_delete_pdp_ind(struct gsn_t *gsn, int version,
if (linked_pdp->secondary_tei[n])
count++;
if (count <= 1) {
GTP_LOGPKG(LOGL_NOTICE, peer, pack, len,
"Ignoring CTX DEL without teardown and count=%d\n",
count);
return 0; /* 29.060 7.3.5 Ignore message */
}
}