1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/routing
Benoît Canet 5e7ea2d9e4 msg: Fix incorrect queues initializations
From core/include/msg.h:

/**
 * @brief Initialize the current thread's message queue.
 *
 * @param[in] array Pointer to preallocated array of ``msg_t`` structures, must
 *                  not be NULL.
 * @param[in] num   Number of ``msg_t`` structures in array.
 *                  **MUST BE POWER OF TWO!**
 *
 * @return 0, if successful
 * @return -1, on error
 */
int msg_init_queue(msg_t *array, int num);

sizeof(array) does does not compute an array size. Replace calls to sizeof()
with proper values

Closes #3269.

Fix two crashes in the tests and probably more in the network stack.
2015-06-29 06:58:24 +02:00
..
aodvv2 msg: Fix incorrect queues initializations 2015-06-29 06:58:24 +02:00
ng_rpl/srh ng_rpl: add source routing header parsing for ng_net 2015-05-17 21:51:52 +02:00
nhdp sys/nhdp: Add link metric calculation 2015-05-27 11:05:13 +02:00
rpl everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
etx_beaconing.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Makefile sys/net/routing/Makefile: Unix line endings 2015-05-09 09:18:31 +02:00