<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hii Derco,<br>
      <br>
      you're right, that is a bug for sure!<br>
      <br>
      It has been fixed and you can take a look at the details in commit
      message (basically you were right))<br>
      Link here:
<a class="moz-txt-link-freetext" href="https://gitlab.nic.cz/labs/bird/-/commit/3a34912eb88e0b8ac061962362e1322bfce34ecd">https://gitlab.nic.cz/labs/bird/-/commit/3a34912eb88e0b8ac061962362e1322bfce34ecd</a><br>
      <br>
      The patch will be included in the upcoming two v3 releases (v3.2.1
      and v3.1.6) in less then a week.<br>
      <br>
      Thanks a lot for the catch!<br>
      David</p>
    <pre class="moz-signature" cols="72">David Petera (he/him) | BIRD Tech Support | CZ.NIC, z.s.p.o.</pre>
    <div class="moz-cite-prefix">On 3/26/26 20:02, Derco Sportel via
      Bird-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DB9PR05MB8476621BD0C38D04FF5693E7D356A@DB9PR05MB8476.eurprd05.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> Hello,</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> <br>
      </div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> We've been relying on bird heavily in
        our DC and basically all of our servers use bird. All server
        advertise /32 addresses using BGP toward the network and we use
        BFD for fast-fail. Lately we have observed some issues with bird
        reloads where some neighbors report reload failed. After
        investigation it looks as if the reload fails if the following
        conditions have beex`n met:</div>
      <ol
style="margin-top: 0px; margin-bottom: 0px; list-style-type: decimal;"
data-editing-info="{"applyListStyleFromLevel":false,"orderedStyleType":1}"
        start="1">
        <li
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
          <div role="presentation" class="elementToProof">BGP sessions
            were established</div>
        </li>
        <li
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
          <div role="presentation" class="elementToProof">BGP flapped
            for $reason (router reload, BFD flap, other)</div>
        </li>
      </ol>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> After this, even though the BGP sessions
        are there, the Route refresh capability is no longer possible.</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> A restart of bird solves the problem.</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> <br>
      </div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> After investigation we suspect this is
        caused by the combination of these parts of the code:</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> <a
href="https://github.com/CZ-NIC/bird/blob/9d509f232eaf04f707f51fd2368841d899ab8afc/proto/bgp/bgp.c#L1258"
          moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/CZ-NIC/bird/blob/9d509f232eaf04f707f51fd2368841d899ab8afc/proto/bgp/bgp.c#L1258</a> and
        <a
href="https://github.com/CZ-NIC/bird/blob/9d509f232eaf04f707f51fd2368841d899ab8afc/proto/bgp/bgp.c#L2917"
          moz-do-not-send="true" class="moz-txt-link-freetext">
https://github.com/CZ-NIC/bird/blob/9d509f232eaf04f707f51fd2368841d899ab8afc/proto/bgp/bgp.c#L2917</a></div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> <br>
      </div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> Our current install is version 3.2.0,
        though we have also observed route refresh issues with prior 3.x
        versions.</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> <br>
      </div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> The bgp_init creates the object with
        reload routes, but a bgp_stop makes it NULL. A bgp_start just
        starts the BGP session, but as the reload_routes is NULL we
        loose the Route refresh capability.</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> <br>
      </div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> We might be completely off track here,
        and this might very well be intended behavior, though we do
        suspect this to be wrong. Can someone have a look at this and
        tell us if this is a bug or a feature?</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> <br>
      </div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
        class="elementToProof"> Regards,</div>
      <div class="elementToProof" id="Signature">
        <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
          class="elementToProof"> <br>
        </div>
        <div
style="font-family: Consolas, monospace; font-size: 12px; color: black;"
          class="elementToProof"> <span
            style="background-color: rgb(255, 255, 255);">Derco Sportel
            | System Engineer Networking | <a style="margin: 0px;"
              data-linkindex="0" data-auth="NotApplicable"
              rel="noopener noreferrer"
              class="OWAAutoLink moz-txt-link-freetext"
              id="OWA4e1ea786-bf56-8c7e-a7e6-489cc681dac0"
              target="_blank" href="https://bol.com/"
              moz-do-not-send="true"> https://bol.com</a></span></div>
        <div
style="text-align: left; background-color: rgb(255, 255, 255); margin: 0px; font-family: Consolas, monospace; font-size: 12px; color: black;"
          class="elementToProof"> <br>
        </div>
      </div>
    </blockquote>
  </body>
</html>