summaryrefslogtreecommitdiffstats
path: root/src/shared/libosmocore/src/msgb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/libosmocore/src/msgb.c')
-rw-r--r--src/shared/libosmocore/src/msgb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shared/libosmocore/src/msgb.c b/src/shared/libosmocore/src/msgb.c
index 60af373e..a60e2ffa 100644
--- a/src/shared/libosmocore/src/msgb.c
+++ b/src/shared/libosmocore/src/msgb.c
@@ -80,10 +80,11 @@ void msgb_reset(struct msgb *msg)
msg->head = msg->_data;
msg->tail = msg->_data;
- msg->bts_link = NULL;
msg->trx = NULL;
msg->lchan = NULL;
msg->l2h = NULL;
msg->l3h = NULL;
- msg->smsh = NULL;
+ msg->l4h = NULL;
+
+ memset(&msg->cb, 0, sizeof(msg->cb));
}