Merge pull request #13168 from FRRouting/mergify/bp/stable/8.5/pr-13153

bgpd: increase buffer size used for dumping BGP to MRT files (backport #13153)
This commit is contained in:
Donatas Abraitis 2023-03-31 12:19:31 +03:00 committed by GitHub
commit f97ec36023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -860,8 +860,7 @@ void bgp_dump_init(void)
memset(&bgp_dump_routes, 0, sizeof(bgp_dump_routes));
bgp_dump_obuf =
stream_new((BGP_STANDARD_MESSAGE_MAX_PACKET_SIZE * 2)
+ BGP_DUMP_MSG_HEADER + BGP_DUMP_HEADER_SIZE);
stream_new(BGP_MAX_PACKET_SIZE + BGP_MAX_PACKET_SIZE_OVERFLOW);
install_node(&bgp_dump_node);