aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtp/gtp.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/gtp/gtp.c b/gtp/gtp.c
index 2ea949d..ba248c6 100644
--- a/gtp/gtp.c
+++ b/gtp/gtp.c
@@ -1752,8 +1752,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Invalid message format\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
@@ -1764,8 +1762,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing mandatory information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
@@ -1792,8 +1788,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
}
@@ -1805,8 +1799,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
@@ -1818,8 +1810,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
@@ -1830,8 +1820,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
}
@@ -1844,8 +1832,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
@@ -1856,8 +1842,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
}
@@ -1869,8 +1853,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
}
if (gtpie_gettlv(ie, GTPIE_EUA, 0, &pdp->eua.l,
@@ -1881,8 +1863,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
@@ -1894,8 +1874,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
@@ -1907,8 +1885,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
@@ -1922,8 +1898,6 @@ int gtp_create_pdp_conf(struct gsn_t *gsn, int version,
"Missing conditional information field\n");
if (gsn->cb_conf)
gsn->cb_conf(type, EOF, pdp, cbp);
- /* if (gsn->cb_delete_context) gsn->cb_delete_context(pdp);
- pdp_freepdp(pdp); */
return EOF;
}
}