version 4.0.7 10/3110/1
authoraa7133@att.com <aa7133@att.com>
Thu, 2 Apr 2020 08:45:09 +0000 (11:45 +0300)
committeraa7133@att.com <aa7133@att.com>
Thu, 2 Apr 2020 08:45:26 +0000 (11:45 +0300)
remove stat counter on sending (core dump)

Change-Id: I9a0f4068dbb2cd7e82d29c2bde779ad784f17f93
Signed-off-by: aa7133@att.com <aa7133@att.com>
RIC-E2-TERMINATION/sctpThread.cpp

index a6a18ea..8e8b11c 100644 (file)
@@ -421,7 +421,6 @@ void sendTermInit(sctp_params_t &sctpParams) {
         rmr_bytes2xact(msg, tx, txLen);
         msg = rmr_send_msg(sctpParams.rmrCtx, msg);
         if (msg == nullptr) {
-            //TODO fix it
             msg = rmr_alloc_msg(sctpParams.rmrCtx, sctpParams.ka_message_length);
         } else if (msg->state == 0) {
             rmr_free_msg(msg);
@@ -984,6 +983,7 @@ int sendSctpMsg(ConnectedCU_t *peerInfo, ReportingMessages_t &message, Sctp_Map_
             m->erase(key);
             return -1;
         }
+        // TODO remove stat update
         //message.statCollector->incSentMessage(string(message.message.enodbName));
         message.message.direction = 'D';
         // send report.buffer of size