]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix the bug that BGP MRAI does not work.
authorRichard Wu <wutong23@baidu.com>
Fri, 5 Jun 2020 09:54:57 +0000 (17:54 +0800)
committerRichard Wu <wutong23@baidu.com>
Wed, 24 Jun 2020 08:30:12 +0000 (16:30 +0800)
commitb10b6d527200c92bef9d576c8c90eaf7098aed06
treea55ed2fbde2c9a266e7961a7c2145bbad3d6d1c2
parentb0e9567ed162da708f8d0b3a3caf87cd03b62e96
bgpd: Fix the bug that BGP MRAI does not work.

Issue: bgp_process_writes will be called when the fd is writable.
       And it will bgp_generate_updgrp_packets to generate the
       update packets no matter MRAI is set or not.
Fix:   bgp_generate_updgrp_packets thread will return without sending
       any update when MRAI timer is still running.

Signed-off-by: Richard Wu <wutong23@baidu.com>
bgpd/bgp_packet.c