From 3b20722a1fc777c27ab2e0451d0ea3fee7fa81a2 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 27 Sep 2021 14:08:03 +0200 Subject: 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. --- proto/bgp/bgp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'proto/bgp/bgp.c') 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; -- cgit v1.2.3