Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpd: Reduce size of ibuf_work ringbuf
The ringbuf is 650k in size. This is obscenely large and in practical experimentation FRR never even approaches that size at all. Let's reduce this to 1.5 max packet sizes. If a BGP_MAX_PACKET_SIZE packet is ever received having a bit of extra space ensures that we can read at least 1 packet. This also will significantly reduce memory usage when the operator has a lot of peers. Signed-off-by: Donald Sharp <[email protected]>
- Loading branch information