Commit 0ba8a614 authored by Martin Mareš's avatar Martin Mareš

Fixed a very nasty bug in FIB iterators.

parent d2a7c0e9
......@@ -4,8 +4,6 @@ Core
- client: paging?
- client: data losses on large dumps?
- table: ocassional core dumps in rt_prune()
Documentation
~~~~~~~~~~~~~
- write doctool
......
......@@ -42,9 +42,9 @@ struct fib_node {
struct fib_iterator { /* See lib/slists.h for an explanation */
struct fib_iterator *prev, *next; /* Must be synced with struct fib_node! */
struct fib_node *node; /* Or NULL if freshly merged */
byte efef; /* 0xff to distinguish between iterator and node */
byte pad[3];
struct fib_node *node; /* Or NULL if freshly merged */
unsigned int hash;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment