aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-29 13:54:28 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-29 14:07:04 +0200
commit4e605b32d49cffa4d82e6aa395415db558801293 (patch)
tree5dc7498ca95134a97975aa8970526cc9abfbe6d9
parent494d873fe394cfed228b21072cc173d412d6732a (diff)
cosmetic: gtp: Improve documentation of gtp_delete_context_req2()
-rw-r--r--gtp/gtp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtp/gtp.c b/gtp/gtp.c
index ba248c6..88248d1 100644
--- a/gtp/gtp.c
+++ b/gtp/gtp.c
@@ -2427,8 +2427,9 @@ int gtp_delete_context_req(struct gsn_t *gsn, struct pdp_t *pdp, void *cbp,
}
/* API: Send Delete PDP Context Request. PDP CTX shall be free'd by user at any
- point in time later than this function through a call to pdp_freepdp(pdp), but
- it must be freed no later than during cb_conf(GTP_DELETE_PDP_REQ, pdp) */
+ point in time later than this function through a call to pdp_freepdp(pdp) (or
+ through gtp_freepdp() if willing to receive cb_delete_context() callback),
+ but it must be freed no later than during cb_conf(GTP_DELETE_PDP_REQ, pdp) */
int gtp_delete_context_req2(struct gsn_t *gsn, struct pdp_t *pdp, void *cbp,
int teardown)
{