diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-07-30 16:48:36 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-07-30 16:49:21 +0300 |
| commit | b3aa2ed7a872478c7b9a44f1d137ba023d46017f (patch) | |
| tree | 3c046fefd3e6e7690d2fdd486572afeddc8c322f /bgpd/bgp_damp.h | |
| parent | c48aaa01a3058d3887b89867042364ff20d97f92 (diff) | |
Revert "bgpd: use double-linked list instead of single-linked list in dampening"
Tested with full feed, this stucks and bgpd even stops responding.
```
[T58XM-TP956][EC 268435457] bgpd state -> unresponsive : no response yet to ping sent 90 seconds ago
```
This reverts commit db0e636dc45f9bd2c76528a8368332c56f2c8f1e.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_damp.h')
| -rw-r--r-- | bgpd/bgp_damp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_damp.h b/bgpd/bgp_damp.h index d238a7a340..fc03b97c13 100644 --- a/bgpd/bgp_damp.h +++ b/bgpd/bgp_damp.h @@ -62,10 +62,10 @@ struct bgp_damp_info { afi_t afi; safi_t safi; - LIST_ENTRY(bgp_damp_info) entry; + SLIST_ENTRY(bgp_damp_info) entry; }; -LIST_HEAD(reuselist, bgp_damp_info); +SLIST_HEAD(reuselist, bgp_damp_info); /* Specified parameter set configuration. */ struct bgp_damp_config { |
