msgb: initialize cb[] to zero during msgb_reset()

This commit is contained in:
Harald Welte 2010-05-01 23:53:26 +02:00
parent 35a939463e
commit 95df5c0179
1 changed files with 2 additions and 0 deletions

View File

@ -85,4 +85,6 @@ void msgb_reset(struct msgb *msg)
msg->l2h = NULL;
msg->l3h = NULL;
msg->l4h = NULL;
memset(&msg->cb, 0, sizeof(msg->cb));
}