]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP uses lp_save / lp_restore instead of linpool flushing
authorMaria Matejka <mq@ucw.cz>
Tue, 5 Apr 2022 13:09:56 +0000 (15:09 +0200)
committerMaria Matejka <mq@ucw.cz>
Wed, 6 Apr 2022 16:14:08 +0000 (18:14 +0200)
commitd39ef961d1dde230c55fcc931b53f44cb34a1e63
tree774af9bf290bb86c4b831201e650c813d95a20a5
parent7e86ff2076f3046c6dcca53e7756f112362aeee9
BGP uses lp_save / lp_restore instead of linpool flushing

It is too cryptic to flush tmp_linpool in these cases and we don't want
anybody in the future to break this code by adding an allocation
somewhere which should persist over that flush.

Saving and restoring linpool state is safer.
proto/bgp/packets.c