Use the vstate of the filterstate struct instead of passing an extra copy
authorclaudio <claudio@openbsd.org>
Wed, 18 Jan 2023 17:40:17 +0000 (17:40 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 18 Jan 2023 17:40:17 +0000 (17:40 +0000)
commitc85bce7bf6bb0ca6a05de7b3c4119694739b2ba2
tree81277a9bfaa99d7165b67a1edb688d6186fce0bc
parent86c75b53114516a735f5870357ccdf8dcc8272c9
Use the vstate of the filterstate struct instead of passing an extra copy
to the various prefix update functions.
While there fix a filterstate leak in up_generate_updates().
With and OK tb@
usr.sbin/bgpd/rde.c
usr.sbin/bgpd/rde.h
usr.sbin/bgpd/rde_rib.c
usr.sbin/bgpd/rde_update.c