]> git.ipfire.org Git - thirdparty/bird.git/commit
Linpool: Fix lp_restore()
authorMaria Matejka <mq@ucw.cz>
Thu, 20 Apr 2023 17:33:00 +0000 (19:33 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 20 Apr 2023 17:33:00 +0000 (19:33 +0200)
commit335409248ea932e93ce4361564b8e92d0b83b071
tree0e0a85ce3ed7a0461a67504d1b6216e5f767611c
parent9e44ace3928a19560058dc713fcbff3a8bad3b3c
Linpool: Fix lp_restore()

When lp_save() is called on an empty linpool, then some allocation is
done, then lp_restore() is called, the linpool is restored but the used
chunks are inaccessible. Fix it.
lib/mempool.c