You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bgpd: Limit size of sent NLRIs to flowspec peers (issue 18557)
See issue 18557 for detailed description of the problem. When announcing flowspec routes, frr currently sends NLRIs up to max_packet_size.
However, the maximum size of flowspec NLRIs is limited to a much lower value here.
Because of this, past as certain amount of flowspec routes, the peer will drop the session.
The proposed change reduces the size of the buffer for the NLRI to the maximum value between nlri_max_length and either FLOWSPEC_NLRI_SIZELIMIT_EXTENDED (if the peer advertised support for extended messages) or FLOWSPEC_NLRI_SIZELIMIT (if it did not).
Signed-off-by: Stephane Poignant <[email protected]>
0 commit comments