diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-02 02:51:20 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-02 09:52:05 +0100 |
commit | d68740d0fd396272d0b2db553a7f33aad5c850e9 (patch) | |
tree | 80985de7cf8e65359c24b155e44c5a086a3d3f4a /src/lib/tests/crc32_test.c | |
parent | 988355d5bb62405f3bd3fbaade1f26ba4b2c274e (diff) | |
download | ouroboros-d68740d0fd396272d0b2db553a7f33aad5c850e9.tar.gz ouroboros-d68740d0fd396272d0b2db553a7f33aad5c850e9.zip |
lib: Fix insertion order in RIB
The new element must be added before the larger element
(list_add_tail, since it's a circular list).
Also fixes a bug and improves the locking in rib_pack (rib must be
locked until the subtree is fully packed in the buffer).
Diffstat (limited to 'src/lib/tests/crc32_test.c')
0 files changed, 0 insertions, 0 deletions