diff options
author | Maria Matejka <mq@ucw.cz> | 2021-09-27 14:08:03 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-11-22 19:05:43 +0100 |
commit | 3b20722a1fc777c27ab2e0451d0ea3fee7fa81a2 (patch) | |
tree | 8f7a2fc0403a788c04a3a0b5b2a83a142440496e /proto | |
parent | 445eeaf3df126af2c7b61e71c4f08a583eb4fa60 (diff) |
Table cork: Stop creating updates when there are too many pending.
The corked procedure gets a callback when uncorked. Supported by table
maintenance routines and also BGP.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/bgp/bgp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index 96df671f..5f2e7dfd 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -584,6 +584,7 @@ bgp_conn_enter_established_state(struct bgp_conn *conn) p->link_addr = p->neigh->iface->llv6->ip; conn->sk->fast_rx = 0; + conn->sk->cork = &rt_cork; p->conn = conn; p->last_error_class = 0; |