Commit 1fa29baf authored by Lionel Gauthier's avatar Lionel Gauthier

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5973 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 592e7f60
...@@ -859,7 +859,6 @@ void *gtpv1u_eNB_task(void *args) ...@@ -859,7 +859,6 @@ void *gtpv1u_eNB_task(void *args)
udp_data_ind_p->peer_port, udp_data_ind_p->peer_port,
udp_data_ind_p->peer_address); udp_data_ind_p->peer_address);
itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), udp_data_ind_p->buffer); itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), udp_data_ind_p->buffer);
udp_data_ind_p->buffer = NULL;
} }
break; break;
...@@ -916,7 +915,6 @@ void *gtpv1u_eNB_task(void *args) ...@@ -916,7 +915,6 @@ void *gtpv1u_eNB_task(void *args)
} }
/* Buffer is no longer needed, free it */ /* Buffer is no longer needed, free it */
itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), data_req_p->buffer); itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), data_req_p->buffer);
data_req_p->buffer = NULL;
} }
break; break;
......
...@@ -388,7 +388,6 @@ static void *gtpv1u_thread(void *args) ...@@ -388,7 +388,6 @@ static void *gtpv1u_thread(void *args)
udp_data_ind_p->peer_port, udp_data_ind_p->peer_port,
udp_data_ind_p->peer_address); udp_data_ind_p->peer_address);
itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), udp_data_ind_p->buffer); itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), udp_data_ind_p->buffer);
udp_data_ind_p->buffer = NULL;
} }
break; break;
...@@ -431,6 +430,10 @@ static void *gtpv1u_thread(void *args) ...@@ -431,6 +430,10 @@ static void *gtpv1u_thread(void *args)
NW_IN NwU8T *tpdu, NW_IN NwU8T *tpdu,
NW_IN NwU16T tpduLength, NW_IN NwU16T tpduLength,
NW_OUT NwGtpv1uMsgHandleT *phMsg)*/ NW_OUT NwGtpv1uMsgHandleT *phMsg)*/
GTPU_DEBUG("GTPV1U_TUNNEL_DATA_REQ buffer %p seq num %d %d bytes\n",
data_req_p->buffer,
gtpv1u_sgw_data.seq_num,
data_req_p->length);
rc = nwGtpv1uGpduMsgNew(gtpv1u_sgw_data.gtpv1u_stack, rc = nwGtpv1uGpduMsgNew(gtpv1u_sgw_data.gtpv1u_stack,
00,// TO DO bearer_p->port, but not needed when looking at processing 00,// TO DO bearer_p->port, but not needed when looking at processing
NW_FALSE, NW_FALSE,
...@@ -455,7 +458,6 @@ static void *gtpv1u_thread(void *args) ...@@ -455,7 +458,6 @@ static void *gtpv1u_thread(void *args)
} }
/* Buffer is no longer needed, free it */ /* Buffer is no longer needed, free it */
itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), data_req_p->buffer); itti_free(ITTI_MSG_ORIGIN_ID(received_message_p), data_req_p->buffer);
data_req_p->buffer = NULL;
} }
break; break;
case TERMINATE_MESSAGE: { case TERMINATE_MESSAGE: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment