1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/routing/aodvv2
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
..
aodv_debug.h doc: aodv specific stuff shouldn't show up in core 2015-04-21 18:53:36 +02:00
aodv.c msg: Fix incorrect queues initializations 2015-06-29 06:58:24 +02:00
aodv.h everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
constants.h everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Makefile Add the AODVv2 Routing Protocol 2014-11-27 03:50:20 -08:00
reader.c aodvv2: fix one-off metric bug 2015-06-23 07:13:16 -07:00
reader.h everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
routingtable.c aodvv2: fix one-off metric bug 2015-06-23 07:13:16 -07:00
routingtable.h aodvv2: fix one-off metric bug 2015-06-23 07:13:16 -07:00
seqnum.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
seqnum.h everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
utils.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
utils.h everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
writer.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
writer.h everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00