mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-15 13:31:54 +00:00
BMP: drop an unused mempool
This commit is contained in:
parent
5daec239c4
commit
13ddb0be00
@ -1244,7 +1244,6 @@ bmp_start(struct proto *P)
|
|||||||
struct bmp_proto *p = (void *) P;
|
struct bmp_proto *p = (void *) P;
|
||||||
|
|
||||||
p->buffer_mpool = rp_new(P->pool, "BMP Buffer");
|
p->buffer_mpool = rp_new(P->pool, "BMP Buffer");
|
||||||
p->map_mem_pool = rp_new(P->pool, "BMP Map");
|
|
||||||
p->tx_mem_pool = rp_new(P->pool, "BMP Tx");
|
p->tx_mem_pool = rp_new(P->pool, "BMP Tx");
|
||||||
p->update_msg_mem_pool = rp_new(P->pool, "BMP Update");
|
p->update_msg_mem_pool = rp_new(P->pool, "BMP Update");
|
||||||
p->tx_ev = ev_new_init(p->p.pool, bmp_fire_tx, p);
|
p->tx_ev = ev_new_init(p->p.pool, bmp_fire_tx, p);
|
||||||
|
@ -65,7 +65,6 @@ struct bmp_proto {
|
|||||||
// Below fields are for internal use
|
// Below fields are for internal use
|
||||||
// struct bmp_peer_map bgp_peers; // Stores 'bgp_proto' structure per BGP peer
|
// struct bmp_peer_map bgp_peers; // Stores 'bgp_proto' structure per BGP peer
|
||||||
pool *buffer_mpool; // Memory pool used for BMP buffer allocations
|
pool *buffer_mpool; // Memory pool used for BMP buffer allocations
|
||||||
pool *map_mem_pool; // Memory pool used for BMP map allocations
|
|
||||||
pool *tx_mem_pool; // Memory pool used for packet allocations designated to BMP collector
|
pool *tx_mem_pool; // Memory pool used for packet allocations designated to BMP collector
|
||||||
pool *update_msg_mem_pool; // Memory pool used for BPG UPDATE MSG allocations
|
pool *update_msg_mem_pool; // Memory pool used for BPG UPDATE MSG allocations
|
||||||
list tx_queue; // Stores queued packets going to be sent
|
list tx_queue; // Stores queued packets going to be sent
|
||||||
|
Loading…
Reference in New Issue
Block a user