Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixes in current code for Multi-UE support [Issue-ID: ODUHIGH-354]
[o-du/l2.git]
/
src
/
cu_stub
/
cu_stub_sctp.c
diff --git
a/src/cu_stub/cu_stub_sctp.c
b/src/cu_stub/cu_stub_sctp.c
index
452e318
..
39874f6
100644
(file)
--- a/
src/cu_stub/cu_stub_sctp.c
+++ b/
src/cu_stub/cu_stub_sctp.c
@@
-525,10
+525,11
@@
S16 processPolling(sctpSockPollParams *pollParams, CmInetFd *sockFd, uint32_t *t
* ****************************************************************/
S16 sctpSend(Buffer *mBuf)
{
* ****************************************************************/
S16 sctpSend(Buffer *mBuf)
{
- uint8_t ret;
- MsgLen len; /* number of actually sent octets */
+ uint8_t ret
= ROK
;
+ MsgLen len
= 0
; /* number of actually sent octets */
CmInetMemInfo memInfo;
CmInetMemInfo memInfo;
-
+
+ memset(&memInfo , 0, sizeof(CmInetMemInfo));
memInfo.region = CU_APP_MEM_REG;
memInfo.pool = CU_POOL;
memInfo.region = CU_APP_MEM_REG;
memInfo.pool = CU_POOL;