diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-06-15 10:35:50 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-06-15 10:35:50 -0400 |
| commit | d0874d195d0127009a7d9c06920c52c95319eff9 (patch) | |
| tree | 98f9d4060d7bb4659a1e312bed9170f76cbe2e11 /lib/srcdest_table.c | |
| parent | 1a5fc72066daf409d7470d4c4c34d979efd94ca0 (diff) | |
bgpd: Allow extending peer timeout in rare case
Currently the I/O pthread handles incoming/outgoing data
communication with all peers. There is no attempt at modifying
the hold timers. It's sole goal is to read/write data to appropriate
channels. All this data is handled as *events* on the master pthread
in BGP. The problem is that if the master pthread is extremely busy
then any packet read that would be treated as a keepalive event may
happen after the hold timer pops, due to the way thread events are handled
in lib/thread.c.
In a last gap attempt, if we notice that we have incoming data
to proceses on the input Queue, slightly delay the hold timer.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/srcdest_table.c')
0 files changed, 0 insertions, 0 deletions
