]> 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)
committerIgor Putovny <igor.putovny@nic.cz>
Thu, 30 May 2024 10:30:00 +0000 (12:30 +0200)
commit842c841c76a8e534e651493cb18d8de163de4c07
tree5e6c91abd621d463387e9d722c5f9dd26fdd88aa
parent67d412fe1af9acfb134372f34c18d16257e3e63d
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